.class selector not working in IE6
Hello, I am unfortunately having some problems with JQuery of late. I am working on a project in which I need to have an AJAX application working in all major browsers, including IE6 and IE7. I have created a click event for a button of the class "update" and "delete" in which an ajax request will be sent to the server. Unfortunately in IE6 (and only IE6) the event will not fire. After much experimentation I realized that it was the class selector. Here are some code tests I have been doing to get a click event to fire:
$(".update").bind('click', function (event) {
alert("update fired");
});
$('#BotTable').delegate('.update', 'click', function(event){
alert("update fired");
});
$('#BotTable').click(function (event) {
if ($(event.target).is('.update')) {
alert("update fired");
}
});
Do you have any ideas as to why none of these work?