[jQuery] Re: change not working

2009-02-13 Thread James
Hmm... how about: $('#selectId').trigger('change'); On Feb 13, 1:09 pm, Mario Soto wrote: > Neither I did find troubles.. :P > > This is code like I use it. I check the select and then for it's value > check what to do. > > switch($('#selectId').val(){ >     case 1: >         // say hello >    

[jQuery] Re: change not working

2009-02-13 Thread Mario Soto
Neither I did find troubles.. :P This is code like I use it. I check the select and then for it's value check what to do. switch($('#selectId').val(){ case 1: // say hello break; case 2: // say good bye break; case 3: case 4: case 5: //

[jQuery] Re: change not working

2009-02-13 Thread David Andrews
Hi Mario, You can trigger the change event in programatically in jquery after your update code ... // update code here $('#selectId').change(); Dave On 13 Feb 2009, at 22:40, Mario Soto wrote: Hello. I have a form where i update some fields if there are info on the database (autolad o

[jQuery] Re: change not working

2009-02-13 Thread James
I can't find any issues with what you have. Please post the validation part of your code. On Feb 13, 12:40 pm, Mario Soto wrote: > Hello. > > I have a form where i update some fields if there are info on the > database (autolad of data). Then I have to verify if some data must > been shown if ce