I have a page which shows details of a user that can b edited.. these details are filled in the page when it loads. I have a dropdown list containing say name prefixes like Mr, Ms, Mrs, Dr, Prof, Lect, Principal...
When the page loads i want the already saved name prefix (in DB) to b selected in the drop down with other options also available.
How can i do that..
Any help is welcome...
Thanks in advance
Selecting an option from dropdown on page load
Moderator: General Moderators
-
sheikhmdirfan
- Forum Newbie
- Posts: 22
- Joined: Tue Jan 20, 2009 12:21 am
-
angelic_devil
- Forum Commoner
- Posts: 74
- Joined: Thu Apr 02, 2009 7:05 am
Re: Selecting an option from dropdown on page load
use the select command