ok, i did this instead,
> $(".pulldownOptionsContainerHidden").append( > $("<div > class='pulldownOption'></div>").html(key).attr("value", key) > ); maybe ie gets confused when not being specific enough? fortunately in this case i am not counting on dealing with an array. Liam On Jun 5, 1:03 pm, liam <liamgriffi...@gmail.com> wrote: > Not sure if I am doing something wrong here, but this fails in IE6: > > $.getJSON("links.htt", { "get_favorites" : 1 }, function(data){ > $.each(data, function(key) { > $("#selectModule").append( > $("<option></option>").html(key).attr("value", key) > ); > > // ie6 messes this up?!?! > $(".pulldownContainer[relid=selectModule]").children > (".pulldownOptionsContainerHidden").append( > $("<div > class='pulldownOption'></div>").html(key).attr("value", > key) > ); > > }); > > }); > > The options append fine, but the divs don't. Thanks in advance if you > can be of some help!