not well-formed in firefox when parsing XML using jquery -


the following code writes warning in firefox console, not in chrome. in both cases, result correct.

 $('status', $.parsexml("<root><status>1</status></root>")).text() 

i understand wrong. suggestion?

use:

<?xml version="1.0"?> 

at beginning of xml.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -