You need to sign in to do that
Don't have an account?
parashermohit
<apex:selectlist id="select-from"><selectoptions value="{!options}"></selectoptions></apex:selectlist>
$('#select-from :elected').val() giving undefined.
while accessing selectlist id it showing the [Object object],but when i am trying to print selected option value its showing "Undefined".
getting undefined in alert
<apex:selectlist id="select-from"><selectoptions value="{!options}"></selectoptions></apex:selectlist>
$('#select-from :elected').val() giving undefined.
while accessing selectlist id it showing the [Object object],but when i am trying to print selected option value its showing "Undefined".
$('#select-from :elected').val()
It should be
$('#select-from :selected').val()
Regards,
Satish Kumar
still same error i am getting