>you just need to set the selected item as selected in the dropdown > ><select name="acme"> > <option value="abc" selected>text</option> ></select> > >when the user submit the form, just store the seelected value in a session >variable and use this to set the SELECTED attribute. > >e.g. > ><select name="acme"> > <option value="abc" #IIF(StructKeyExists(session,'acme'), >"'selected'","''"))#>text</option> ></select> > > > > >-- >Russ Michaels >www.cfmldeveloper.com - Supporting the CF community since 1999 >FREE ColdFusion/Railo hosting for developers. > >blog: www.michaels.me.uk
Yes I am doing that with the help of some form variables. I am able to see the selected value. My question is - suppose there are 1000 values in the dropdown and the dropdown is of type 'multiple', and the user selected the 1000nd value, the drop down should be scrolled down to that value when the user does some other stuff and comes back to the screen. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338950 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm