Hi All,
Can anyone please tell me how can I pass a list item from one page to another in javascript?
Thanks
Hi All,
Can anyone please tell me how can I pass a list item from one page to another in javascript?
Thanks
Assuming same origin:
Through the server:
Through local host:
I assume the data required by the second page is available on the server. If not, the first page should send it to the server via AJAX.
In either case, use JSTL on the server to create a data structure in JavaScript which is read by the second page after it loads