Something like below should work: if($('select[name=myDropdown] :selected').val() == 'my value'){ $('input[name=inputToBeHidden]').hide(); }
On 1/14/08, Bhaarat Sharma <[EMAIL PROTECTED]> wrote: > > > Hello, > > I'm a little new to jQuery. > > Is it possible to hide/disable a text field based on a certain value > in a drop down box on the same page?? > > I'd appreciate if someone could either show me a similar example or > guide a little. > > Thanks > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com