I am displaying table like bellow and going to a modal
The code in modal div on the same JSP file is
This is javascript code on the same JSP file
I am opening a form from modal
What I want is-
1. When an anchor link is clicked on for each row the product ID and product will be passed to modal div
2. Add the product ID in hidden field
3. Process form data in servlet
I don't know how to do aforementioned no.1
I would appreciate you help
The code in modal div on the same JSP file is
This is javascript code on the same JSP file
I am opening a form from modal
What I want is-
1. When an anchor link is clicked on for each row the product ID and product will be passed to modal div
2. Add the product ID in hidden field
3. Process form data in servlet
I don't know how to do aforementioned no.1
I would appreciate you help