Ok, so here's what I want to do, preferably with jQuery 1.4.2:
- Have one
<input type="text">
and one<input type="button">
- If the
text-input
has exactly N number characters, I want a click on thebutton
to submit the form with one action. - Else, the button submits the form with another action.
Unfortunately I'm a jQuery n00b, and I can't get it to work… ._.