Am using several check boxes in my application.I have an event handler associated with its click event.There when i access the checked attribute, it returns the right value while running the application.
alert($('#checkBoxID').attr(checked_)); //Returns true when checked and false when unchecked
But it always returns true while Q unit test cases are executed.Why is this? Both cases the handler is invoked by the click event of the handler only...