Validation plugin hijacks click function?
- by timkl
Absolute newbie question, any help is highly appreciated :)
I am using curvycorners (http://www.curvycorners.net/) in combination with the jQuery validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/), and I'm having problems getting the div to redraw the rounded corners when I do like this:
$("input[type='submit']").click(function(e) {
curvyCorners.redraw();
});
When I click the submit-button the first time the form validates, the validation error-message pops up and expands the div, causing the layout to go ugly. However when I click on it the second time the rounded corners redraw nicely.
Could it be that my validation plugin hijacks my initial click? How do I go about this? Any hint is very much appreciated.