IE7 wont filter AJAX returned value using $(data).filter
<p>I am using this code:</p>

<pre><code>$.get('getdetails.php?gid='+getid, function (data) {


           //query the jq object for the values
           var person = $(data).filter('NAME').html();


// this works fine and shows the content from the getdetails.php page
alert (data);


// this shows nothing

alert(person);


});
</code></pre>

<p>and here is the getdetails.php bit</p>

<pre><code>echo"&lt;NAME&gt;barry&lt;/NAME&gt;";
</code></pre>

<p>this works 100% in chrome, FF and IE9 but not at all in IE8 or 7.</p>

<p>Please help!</p>
