On Apr 4, 9:24 pm, LinkGuru <[email protected]> wrote: > This turned out to be the solution................ > > var drp = $('#dropdown'); > drp.children().each(function() { > $(this).removeAttr("selected");}).end().append("<option value='"+insertid+"' > > selected='selected'>"+project+"</option>"); > > I am sure jselect would have worked too (possibly a bit of an > overkill?), so thanks to RvFlash Why not ditch all that and just set the selected property of the option to true? -- Rob
- [jQuery] appending an option to select list (dropdown), making it... LinkGuru
- [jQuery] Re: appending an option to select list (dropdown), ... RvFlash
- [jQuery] Re: appending an option to select list (dropdown), ... LinkGuru
- [jQuery] Re: appending an option to select list (dropdow... LinkGuru
- [jQuery] Re: appending an option to select list (dro... LinkGuru
- [jQuery] Re: appending an option to select list ... RobG
- [jQuery] Re: appending an option to select list ... Ricardo

