What objects are available in FireFox? (like DOMParser)

D

DKM

I recently found out that the below code works in FireFox 1.0.4.

str = "<b>Hello world!!!</b>";
var doc = new DOMParser().parseFromString(str, "text/xml");
document.getElementById("div1").appendChild(doc.documentElement);

I knew how to manipulate document object. Now, I see that there is this
DOMParser object that one can use in the browser in Javascript.

What other objects are accessible in FireFox?

I went to www.w3.org and searched for DOMParser and did not find
parseFromString as one of its method.

Where can I find about DOMParser and objects available in the browser.

Thanks very much in advance.

D.K. Mishra
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,001
Messages
2,570,250
Members
46,848
Latest member
Graciela Mitchell

Latest Threads

Top