0

Hay guys, I'm using the solution found over at Jquery toggle event is messing with checkbox value to fire an evert on a checkbox. IE however seems to have a bug, my event isn't being called until i click anywhere on the document.

any ideas?

sample code...

$(".selector").change(function(){
    if ($(this).attr("checked")) {
        if(v == "0.00"){
            // some stuff
        }else{
            // some stuff
        }

    }else{
        // some stuff
    }   
});

EDIT:

It seems if i change .change to .click it works. Well at least on check boxes.

1 Answer 1

-2

event bubbling/propogating issue or something like that i guess.

1
  • you need to study event bubbling/propogating for ie issues. This should be in dhtml books, articles, online tutorials, etc. You need to research a bit.
    – Sarfraz
    Dec 2, 2009 at 11:24

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.