Hari Gillala
Hari Gillala

Reputation: 11916

Jquery Change works in firefox but not in IE

the below function is not triggering in IE8, but works in Firefox.

$("#datepicker").change(function () {
            AddOrRemoveOptionsAvailable();
        });

What needs to be done?

Upvotes: 0

Views: 58

Answers (1)

sreyaNotfilc
sreyaNotfilc

Reputation: 146

This link may help you.

http://norman.walsh.name/2009/03/24/jQueryIE

Paraphrasing Alex... "If you click on a radio button, IE seems to wait with firing the change event until you leave the button, which is consistent with the behavior on other input fields (like text)"

$(function () {
    if ($.browser.msie) {
        $('input:radio').click(function () {
            this.blur();
            this.focus();
        });
    }
});

Upvotes: 1

Related Questions