HELP! JQuery - Firefox works, IE doesn't
Posted: Mon May 26, 2008 12:41 pm
Hi,
I'm writing some code using JQuery (love it), and I'm running into some problems with it not working in IE. here's the snippet of code where I'm stuck currently:
Code: Select all
$.ajax({
type: 'GET',
dataType: 'html',
data: 'method=getCategories&cat_id=0&sub_cat_id=0&no_javascript=1&genre_select_box_only=0&t' + new Date().getTime(),
url: '/service/index_dev.php',
success: function(tmp) {
var content = $(tmp).find('response').html();
$('#cat_list_content').html(content.replace(/</g,'<').replace(/>/g,'>').replace(/&/g,'&')).change( function() {
/** more code here **/
});
}
});
tmp contains:
Code: Select all
<?xml version="1.0"?>
<fff_services><status id="80001" method="getCategories"/><response>response content here</response></fff_services>
Code: Select all
var content = parseXML(html,"response");Code: Select all
var content = $(tmp).find('response').html();Help???
Thanks!
Chad