I have been reading through the group but I can't find exactly what I
am looking for.
I am using jquery get to process an xml file and am wonder about a few
things.
1. How do I get the function to use the data I pass in, in this case
name:"yyy"
2. the code below works in FF but IE7 returns a blank for the text. Is
there a better way to do this.

Here is my code:


$(document).ready(function() {
 $.get("films.xml", { name: "yyy" },  function(xml) {
 var theXML = xml;
   var theName=$(theXML).find("name:contains('x')");
    alert(theName.text());
 } );

Thanks.

Reply via email to