Hello, I have an input box searching a XML file for a string. Anything
the user types in, the script searches through the XML file in the
"name" and "conference" tags for results. This works just fine in
Firefox. However, in Safari, it only returns a result when a single
search result is found. I've narrowed it down to this line, and I have
no idea what is wrong with it. Am I wrong in my use of selectors in
this way? Or is it a Webkit bug?

$(xml).find('name:contains("' +searchString+ '"),conference:contains
("' +searchString+ '")').each(function() {
    ....print results....
});

Reply via email to