Basically , this.webNavigation.loadURI(aURL, nsIWebNavigation.LOAD_FLAGS_NONE, null,null, null); I pass in aURL = "C:\\test.html" will just work fine too i retrieve the dom document and able to manipulated it but however I have problem writing the dom document to an text/html file So using a weblistener will solve my problem ?? Can someone explain to me te concept of web listener ? Thanks very much
"Christian Biesinger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ken wrote: >> this.webNavigation.loadURI(aURL, nsIWebNavigation.LOAD_FLAGS_NONE, null, >> null, null); >> >> var testDocument = this.webNavigation.document; > > Loading a URI is asynchronous, the document you are getting here won't be > the one that corresponds to aURL... _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
