alert($("select[name="+"this.name"+"] option:selected").text());
but nothing is being returned unless I give the name of the combobox instead of calling this.name, I might be having problems with the quotes.
alert($("select[name="+"this.name"+"] option:selected").text());
but nothing is being returned unless I give the name of the combobox instead of calling this.name, I might be having problems with the quotes.
Use $(this)
to get the text of selected option of changed selectbox:
$(this).find("option:selected").text();