+ 3
Is it possible to have popup window and when you submit it will redirect to another popup?
When I add a record the add button will popup the form and then when you click the button inside it, the popup will close and then another popup will open.
8 Respostas
+ 7
This is an small example but you can add as many alerts or stuffs as you want.
Open a Web playground and paste this in js:
var a=confirm("Are you 18+ years old?")
if (a==true)
alert("You can continue to watch this site.")
else
alert("You are not allowed to watch this site.")
I believe you can do that with photos/videos too , but i don't know enought js for a solution.
+ 3
Like an alert or something like that?
+ 3
If yes, there are lessons in javascript how to do that. (With "if/else ... ")
+ 3
Wow! Looks like you are developing some interesting website, Alex 😂
+ 3
😂😂😂
+ 2
Hi Ynelle Kyle Novicio,
To accomplish this with costum modal boxes, that take at the first modal an input and displays the added record at the second modal.
here is a snippet, hope it helps👍😊
https://code.sololearn.com/Wr31n1TW172K/?ref=app
0
It is not just an alert box, modal is used.
0
It is a big modal for filling up information then if you click submit it will be saved and redirect to the list page. But if you click another, it will be saved too and redirect to itself to add another information.