jquery validation - breaking on change?
Here is our code:
http://jsfiddle.net/ajLkz/1/
Basically, if we wrap the if statements
for each input box in a jquery function like change or keyup - the whole thing ret开发者_JS百科urns true for everything.
Basically what we are aiming for is if EVERY if statement returns false, the button then becomes full opacity and disabled false.
But we want to put these if statements in a jquery change/keyup function.
Its really starting to annoy me >.<
is that resolving the problem ?
jsfiddle.net/ajLkz/3
精彩评论