Not populating dropdownlist inside $.each
<p>I have such code:</p>

<pre><code>var options = $("#drop");
$.getJSON("/services.asmx/GetResults", params, function (result) {

        $.each(result, function () {
            //alert(this.Name) works!    
            options.append($("&lt;option /&gt;").text("test"));  
        });

    });
//options.append($("&lt;option /&gt;").text("test"));  Works!
</code></pre>

<p>and it's not appending my dropdownlist. If I move that line out of getJSON method, it works. I debugged and all data returned (result) is correct, there are no errors. Originally I want to add this.Name instead of "test", but even simple string does not append.. What's wrong here?</p>

<p>UPDATE: I just figured out, that I am using jquery CHOSEN plugin, which converts option tags to li. I bet that's a problem. I still didn't solve the issue and wonder why it works only outside service call, but not inside.. Thank you for your answers!!!</p>
