Selecting an option from dropdown on page load
Posted: Fri Apr 24, 2009 12:30 am
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
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