I have added two jQuery UI Dropdown Autocomplete script. Now I want get both value onchange of second dropdown and want to store separately in variable. How it is possible?<
If you have simple dropdown like:
Active Inactive
Then you can use this code for getting value:
$(function(){ $("#status").change(function(){ var status = this.value; alert(status); if(status=="1") $("#icon_class, #background_class").hide();// hide multiple sections }); });