开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜