jQuery("#mySelect").load("something.html" , function(){
      // set the value here
           ....
});

Did you do like that or

jQuery("#mySelect").load("something.html");
// set the value here
...

???

On Jan 24, 9:42 am, "Steffan A. Cline" <stef...@hldns.com> wrote:
> I am wondering if I'm missing something in my code.
>
> I have a <select> that is populated via
> $("#mySelect").load("something.html"). This page of course returns a bunch
> of <option value="xx">XXXXX</option>. I have verified that the code is
> populated correctly via viewing the source.
>
> After the .load() I try to set the selected value via .val("something").
>
> The option I am trying to select is there. It's as if the .val(xxx) does not
> work on a select that is populated this way. Is there something I am
> missing? There has to be a work around.
>
> Suggestions?
>
> Thanks
>
> Steffan
>
> ---------------------------------------------------------------
> T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
> Steffan A. Cline  
> stef...@execuchoice.net                             Phoenix, 
> Azhttp://www.ExecuChoice.net                                 USA
> AIM : SteffanC          ICQ : 57234309
> YAHOO : Steffan_Cline   MSN : stef...@hldns.com
> GOOGLE: Steffan.Cline             Lasso Partner Alliance Member
> ---------------------------------------------------------------

Reply via email to