Is jquery html() method works for both html and xml documents?



Is jquery html() method works for both html and xml documents?..

Answer / Hitesh Mishra

The jQuery .html() method is designed to work with HTML documents. While it can manipulate text nodes in XML documents, it may not handle XML tags correctly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

What are selectors in jquery mean ?

1 Answers  


How to check/uncheck an input in jquery?

1 Answers  


What is jquery selectors?

1 Answers  


Can we include multiple version of jquery? : jquery mobile

1 Answers  


What does the jQuery migrate function do?

1 Answers  


explain width() vs css(‘width’) in jquery

1 Answers  


Tell me how to use migrate jquery plugin if possible? : jquery mobile

1 Answers  


How to write cookies in jquery?

1 Answers  


What is the difference between jquery.get() and jquery.ajax()?

1 Answers  


What are the the two types of cdns?

1 Answers  


How do you disable or enable a form element?

1 Answers  


What is jquery selectors? Give some examples.

1 Answers  


Categories