how to get value?
How to get current selected value of a dropdown which is inside div? divid is divcontent and dropdownid is country
both dropdowns are ajax-generated based on some conditions.
Thanks in advance
Just use .val() to get the value of any input type element, include <select> elements. Since IDs are unique you can just do this:
var value = $("#country").val();