Examveda
Examveda

Which of the following attribute takes the source of the PHP file?

A. img

B. src

C. source

D. none of the mentioned

Answer: Option B

Solution(By Examveda Team)

The syntax to referencing a PHP file using external JavaScript is consistent enough with what we already know:
<script type="text/javascript" src="myscript.php">

This Question Belongs to Javascript >> Caching And Debugging

Join The Discussion

Related Questions on Caching and Debugging