'src' Syntax and Note : src « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- src
'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