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
Post a Comment