I have an order list on "Page1", I used javascript to write orders into html div (when user clicked add button, item added to the list). Then I posted all values to the next page "Page2" if user clicks confirm button. I need to show the same list when user get backed from Page2 to Page1 for instance to add another item. The problem is I'm using javascript to generate order list, so I can not post back. Is it impossible to find a solution with javascript or I have to change code that generate order list from client side to php?
You could save the data in $_COOKIE\$_SESSION before sending them to the page 2...
You could serialize your form with serialize()