I want to show a selected value from the table in the dropdownlist as the starting value like the "prompt" statement.
When i am displaying using prompt,then on sending the form, the value is not set and its storing blank.If i am selecting another value, then its working fine.
If i am using value instewad of prompt,its not showing selected value.Please help me.
I am getting the value, suppose a user has saved some data in a table. And later he wants to edit the data.When he is editing the data, i want to show him the previous value selected by him in the dropdownlist as the first option in place of "select".
In my code previous selected value is not shown on the list.
Suppose a user has saved some data in a table. And later he wants to edit the data.When he is editing the data, i want to show him the previous value selected by him in the dropdownlist as the first option in place of "select".
In my code previous selected value is not shown on the list.