[jQuery] remote validation
Hello:
I'm using the validation plugin on my site to make remote
validations, and it is working graet!
But, I note that the ajax call is made allways. I think that that
call only has to be done when the input value has changed. Has no
sense to validate a value which has not changed.
It is posible to specify into the rule's options that only validate
if the value has changed?
My code:
$('#number').rules('add',{
remote: {
url: "/api/validate/number/",
data: { val: $('#number').val()}
}})