like the title says, I am trying to create a drop down menu using jQuery, JSON and AJAX, although I am familiar with the theory I have yet to put it into practice, any advice, d
This should do the trick:
$.getJSON("test.php", function(data){ $.each(data, function(index, text) { $('#mySelect').append( $('').val(index).html(text) ); }); });
note: test.php should return an json encoded array