jQuery Ajax issue - IE only
I've got the below function that works perfectly fine in FF, but it acts like nothing is happening in IE 8. I've tried the no cache option, my own url random addition and numerous variations. I'm new to jQuery and was hoping to find out why this is an issue and how to resolve it.
function chg_class()
{
$(document).ready(function() {
var ls_data = "r=cc&m=class_chg&class_id="+class_id+"&gender="+gender;
$.post("events/ajax.php", ls_data,
function(data) {
if(data.disp=='1')
{
$("#msg_disp").html(data.msg);
};
$("#class_img").html(data.class_img);
$("#char_container").html(data.attr_grid);
}, "json");
});
}