[jQuery] Re: [autocomplete] disable submit until valid selection is made

2009-05-07 Thread simon
I used the following on a submit button, based on two input items, to ensure that both had to be completed(not empty) before the button was enabled, it also fades it out to 50% $("#inputIDone,#inputIDtwo").keyup(function(){ if($("#inputIDone").val()!="" && $("#inputIDtwo").val()!=

[jQuery] Re: [autocomplete] disable submit until valid selection is made

2009-05-06 Thread Tom Worster
On 5/5/09 7:51 PM, "Seth" wrote: > I have a situation where the only valid inputs on my autocomplete > field are the ones supplied by my ajax method. Is there a way to > disable the submit button on my form until the input field contains > one of the autocomplete values? could you perhaps enabl