How can I get the index of selected item from dropdownlist instead of value of it?
I want to post a form fields to url that one of the field's type is dropdwonlist. When the form is sent to url, the result of dropdownlist is string, but I need the index of the selected item instead of value.
Get the index of dropdownlist field
How can I get the index of selected item from dropdownlist instead of value of it? I want to post a form fields to url that one of the field's type is dropdwonlist. When the form is sent to url, the result of dropdownlist is string, but I need the index of the selected item instead of value.
is working on a reply...