<option> append in jquery not working

     

I have a problem appending tag in jQuery.   The jQuery code is:


var newTextBoxDiv = $(document.createElement('div'))   .attr("id" 'TextBoxDiv' + counter);
newTextBoxDiv.after().html('