Aug 5th, 2011, 6:22 PM
Hi Doug,
Marvellous - that'll save some time!
Here's the code. You'll need to replace "reset_button_id" with the ID of your reset button, and "theErrorClass" with whatever error class you're using.
Let me know if you have any trouble with it!
- Ben
Marvellous - that'll save some time!
Here's the code. You'll need to replace "reset_button_id" with the ID of your reset button, and "theErrorClass" with whatever error class you're using.
Code:
$(function() {
$("#reset_button_id").bind("click", function() {
$(".theErrorClass").removeClass("theErrorClass");
});
});
Let me know if you have any trouble with it!
- Ben