How to Keep the selected value of the select box after Form POST or GET
        Posted  
        
            by Rajasekar
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Rajasekar
        
        
        
        Published on 2010-05-25T13:14:22Z
        Indexed on 
            2010/05/25
            13:21 UTC
        
        
        Read the original article
        Hit count: 274
        
Im trying to implement the search feature in my website.
when the search keyword is entered in the textbox, and the category combo is selected, the form will be Posted and the result will be shown on the same page.
what i want is to keep the selected category of the combo by default in the form after posted
For eg., If i select the category 'Automobiles' in the combo and click search, after form submit, the combo should show the automobiles as default selected option. Please help me. Any help will be appreciated
© Stack Overflow or respective owner