http://www.perlmonks.org?node_id=973711

ghosh123 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monk,
I am developing a webpage using LAMP where the programming language is PERL.
My page has a table in it and above the table columns there is drop-down which filters the table data. This filter is implemented by Javascript. If I choose 'all' from the drop-down it shows the entire table data and if other values are selected then only those relevant data it shows. By default if not selected anything from drop-down, it shows all the data of the table.

The problem is , if I refresh the page then irrespective of what value was selected from drop-down, it shows the default data only. How can I implement the feature so that even if I refresh it will bring the table-data depending on the last selected value from the drop-down.

Please help.

Thanks.