B4J Question Confirmation pop up on a web page using jserver

Peter Lewis

Active Member
Licensed User
Longtime User
Hi All

Is is possible to do a popup on a webpage served by jserver.

On the Webpage I am posting a form to the server to delete a record and as a precaution I would like the user to get a popup with all the details of the record they are about to delete. On the webpage is just the name and the rest are in the DB on the server.

Thank you in advance
 

tchart

Well-Known Member
Licensed User
Longtime User
Hi All

Is is possible to do a popup on a webpage served by jserver.

On the Webpage I am posting a form to the server to delete a record and as a precaution I would like the user to get a popup with all the details of the record they are about to delete. On the webpage is just the name and the rest are in the DB on the server.

Thank you in advance

Yes it is but there are several options

1. You could so a simple alert in JavaScript, this is simple but looks ugly - https://www.w3schools.com/jsref/met_win_confirm.asp
2. You could redirect to another server page first.
3. You could show a modal form in the web page but this requires some more JavaScript knowledge.
 
Upvote 0
Top