Show "Loading..." in dropdown box
ajax, asp.net-mvc, jquery
Solution
You can add temporary item to your dropdown list while the ajax is running:
$('#myDropDown').prepend($('<option></option>').html('Loading...'));
Problem
I'm running a database query to load a dropdownbox using jquery. Is there a way to display the words "Loading..." in the dropdownbox while the query is running? Thanks.