Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

Src Syntax and Note

Note: Read and write property.  Specifies the URL of the source of the object.      Syntax:      document.getElementById("elementID").src = value document.all.elementID.src = value // IE only