Try

$("select[name='kitten3']").append('<option value="' + id_array[i] +
'">' + group_array[i] + '</option>");


On Dec 5, 12:33 pm, jabberwok <neillha...@gmail.com> wrote:
>  $("select[name='kitten3']").append(new Option(group_array[i],id_array
> [i]));
>
> this code works fine in firefox but not ie
>
> I get new node added to the select but they are blank, no value
> attribute or text in the display
>
> it's not a problem with the arrays as I have alerted them out fine in
> ie
>
> Help much appreciated. Thanks.

Reply via email to