[jQuery] remove() method IE 7 ERROR
Hi,
I have an ajax request which is returning an xml, but when I tray to
remove an element from the xml response I'm receiving the following
error message:
This is happening only in IE7 (I didn't tray in IE6)
Line: 1283
EROOR: "Object doesn't support this property or method"
This is my code:
var pDialog = $(data_responce).find('PDialog');
if(pDialog ){
pDialog .remove();
}
This is what I find in 1283 when i debugged it :
// Compute a unique ID for the element
if ( !id )
id = elem[ expando ] = ++uuid;
// Only generate the data cache if we're
// trying to access or manipulate it
if ( name && !jQuery.cache[ id ] )
jQuery.cache[ id ] = {};