Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

Background Syntax and Note

Note: Read and write property.  Sets the background image URL.  The background image appears in front of any background color.      Syntax:      document.getElementById("elementID").background = value document.all.elementID.background = value // IE only