Hmm... how about:
$('#selectId').trigger('change');

On Feb 13, 1:09 pm, Mario Soto <canc...@gmail.com> 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
>         break;
>     case 2:
>         // say good bye
>         break;
>     case 3:
>     case 4:
>     case 5:
>         // say what are you doing here?
>         break;
>
> });
>
> But the problem is not validaton, is that it doesn't get there. I
> placed an 'alert', and nothing happened either.. It simply doesn't get
> there. (thanks James)
>
> The other thing is that these autoload is an js, that is used by other
> autoload in other process (that i have nothing to do), and so, I
> cannot change it (Thanks David Andrews).
>
> This it migth be a bug or an expected behavior?

Reply via email to