hi
i am listing items using "select"
on selecting an item-3 from the list iam reloading the page, same for all the items.
When page reloads, select takes to item-1 again.
I want to retain item-3 even after page reload.
hi
i am listing items using "select"
on selecting an item-3 from the list iam reloading the page, same for all the items.
When page reloads, select takes to item-1 again.
I want to retain item-3 even after page reload.
it's normal if you're reloading the page during, for example, a new action. for edit actions it will load the selected item.
so, if you want to reload the page preserving data/selections, you should create a specific action that takes params[] arguments and load them in the form.