Search code examples
jqueryjquery-validate

jquery validate: how can I make a field validate on change?


On jquery's validate plugin, an error message only disappears after the user has made focus on another element. I want to make it disappear as soon as the right info is written. How can validation be triggered 'onchange'?


Solution

  • $(".selector").validate({
       onkeyup: true
    })