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!

Reply via email to