tags:

views:

33

answers:

1

Hay guys, I'm using the solution found over at http://stackoverflow.com/questions/355638/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.

A: 

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

Sarfraz
Any solutions to the issue?
dotty
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