Javascript Reference
Categories: Obj_Document

javascript Obj_Document load( )

@March 15, 2008, 1:22 a.m.
load( )Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM n/a  

load("URI")

  

Loads an XML file into the current Document object. Attempting to load other types of files (such as HTML) throws an exception. The server must be configured to send the file as the text/html content type.

 
Parameters
 
  • A string of the URI to an external XML file.
 
Returned Value

None.


Powered by Linode.