'src' Syntax and Note : src « Javascript Properties « JavaScript Reference

'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

    

      
      








Related examples in the same category

1.'src' Example
2.'src' is applied to