jquery - how to get value? -


how current selected value of dropdown inside div? divid divcontent , dropdownid country

code follows

<form id="frm1"> 

both dropdowns ajax-generated based on conditions.

thanks in advance

just use .val() value of input type element, include <select> elements. since ids unique can this:

var value = $("#country").val(); 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -