[jQuery] :contains selector not working in IE
I have the following code working in FF but not IE:
function processSearchResult(xData, status){
var resultHTML = "";
if (status == "success") {
$(xData.responseXML).find("QueryResult").each(function() {
var x = $("<xml>" + $(this).text() + "</xml>");
x.find("Document").each(function(){
var title = $("Properties>Property>Name:contains('TITLE')", $
(this)).next().next().text();
var url = $("Action>LinkUrl", $(this)).text();
var title never gets set unless I take out the :contains. Any idea
how to solve this issue?
-j