Yes, this form is for the user,the user will select the appropriate option..now the user will submit the form
Code:
$('#submitIMg').click(function(){
$('#myformID').submit();
}
but in this code,only value of my select option will be posted but what i want is the text (teacher) on it not the value.
Code:
<select >
<option value="001">Teacher</option>
</select>
I already know how to get the selected option because you teach me how on how to get the the selected,something like this
Code:
var text=$('#myselectId option:selected').text();
Bookmarks