Is it possible that jquery html work for both html and xml document?



Is it possible that jquery html work for both html and xml document?..

Answer / Jabir Husain

No, jQuery's `html()` method is designed to manipulate HTML documents only. It does not work with XML documents.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

How to check data type of any variable in jquery? : jquery mobile

1 Answers  


Can we have multiple document.ready() function on the same page?

1 Answers  


How can you use a jquery library in your project?

1 Answers  


Explain the difference between javascript and jquery? : jquery mobile

1 Answers  


What is the difference between jquery-x.x.x.js and jquery.x.x.x min.js?

1 Answers  


With jquery ui 1.7 being released in the last few days, what do you see as the key parts of jquery ui 1.7? What are you most proud of out of that release?

1 Answers  


How can jquery be used in conjunction with another javascript library that also uses $ for naming?

1 Answers  


List the advantage of using minimized version of jquery?

1 Answers  


What are the basic selectors in jQuery?

1 Answers  


Can we select a element having a specific class in jquery ?

1 Answers  


What is queue() in jquery?

1 Answers  


List browser related issues for jquery?

1 Answers  


Categories