I am relatively new to programming on web applications, so I hope this question is not too important for everyone.
I created an HTML page with FORM containing dojox datagrid (v1.2) filled with description lines for different products. After the user selects the item you are interested in, he will click the "Submit" button.
At this point, I can get a javascript function to store the element identifier as a javascript variable. But I do not know how to pass this identifier to the next HTML page.
Should I just pass the identifier as a parameter to the URL query string? Are there any other better ways?
EDIT: The general process is like a shopping cart. The user will select an item from the grid, and then on the next page the user will fill in some details and then check.
I should also mention that I use grails, so this happens on the GSP page, but currently it only contains HTML.
javascript html dojo grails
Walter
source share