Replace elements to XHTML-style without checking if it is a XHTML document
|Reported by:||anonymous||Owned by:||anonymous|
I have a XML document which contains "<param>something</param>" in it. When I tried to get the text "something" inside using "$xml.find("param").text()", it simply returned "". I have had a look at the file "jquery-1.6.4.js" and it seems the code below " Fix "XHTML"-style tags in all browsers" which replaces the elements without keeping its children troubles me for long(Though I do not know why). Sorry for my poor English. Hope this would help.