I want to beable to select an option in a select by the value that has been gotten from the session is this possible? So eg in my list:
- Book
- Conference
- Journal
And for example book was in the session so it selects the book in the drop down menu.
Thanks in Advance
Dean
i give following example with the help of ruby language. which select the ‘Book’ when session[:some] contains string ‘Book’
In pure HTML