[Closed] Dynamically Populated Select Doesn't Behave Properly Initially
[Closed] Dynamically Populated Select Doesn't Behave Properly Initially
In my very 1st jQuery web app, I have two (2) select controls populated in bulk via ajax.responseText, usin $( "#dir-select" ).html( ajax.responseText ). Works fine, except that the 1st
isn't displayed, in fact there's no initial selection. I can't explicitly choose the 1st item til I choose anything else. Looking at the HTML in Firebug, there's an empty
tag pair till something is explicitly chosen. Alsso tried $( "dir-select" ).refresh, immed following the initial HTML load. Can reload the controls several times over, with same limitations. Maybe there's another way to populate a select control in bulk ? Anyway, TIA....
Topic Participants
jetman3
jakecigar