Forums Register Login

Submit button click action to JSP without a form.

+Pie Number of slices to send: Send
There's a remove button for each table row. When the user clicks remove, the row in which the remove button is clicked should be deleted.

How do I get the onclick action to work ? =/

I tried using the 'hidden' input tag method, but I guess I messed up ..

+Pie Number of slices to send: Send
Why are you using scriptlet to perform DB access and data retrieval? Use JSPs purely to bring up the view part of your web application. Read Bear's response in this thread. Also read this arcticle by Bear.
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 3626 times.
Similar Threads
PreparedStatement to pass user input to MySQL not working
javax.servlet.jsp.JspTagException: Don't know how to iterate over supplied "items" error?
how do I know Edit Database Record
doubt regarding default values
JSP and AJAX problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 02:59:28.