views:

20

answers:

0

Hey,

I'm using the jquery ui slider as a submit button cos it's cool and it's a good validation method as it's not as disturbing as captchas. When there is a validation error with the form, I do the following:

alert('Error with name');
$('#slider').slider("value", 0);

When the user clicks OK on the alert, the slider handle is still connected, and still moves around with the mouse...

Does anybody know a good solution? :-)

Thanks!

related questions