Page 1 of 1

Selecting an option from dropdown on page load

Posted: Fri Apr 24, 2009 12:30 am
by sheikhmdirfan
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

Re: Selecting an option from dropdown on page load

Posted: Fri Apr 24, 2009 2:20 am
by angelic_devil
use the select command