instead of example:
$(".myfield").blur(function() {
// validate
})
$(".myfield").keyup(function() {
// validate
})
is there a way to combine these two?
instead of example:
$(".myfield").blur(function() {
// validate
})
$(".myfield").keyup(function() {
// validate
})
is there a way to combine these two?
use with .on() Event
In case you want to validate each for itself...
Yes
Reference: .bind()