+ 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.

20th Dec 2018, 9:43 AM
Ynelle Kyle Novicio
Ynelle Kyle Novicio - avatar
8 ответов
+ 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.
20th Dec 2018, 11:01 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 3
Like an alert or something like that?
20th Dec 2018, 10:56 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 3
If yes, there are lessons in javascript how to do that. (With "if/else ... ")
20th Dec 2018, 10:57 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 3
Wow! Looks like you are developing some interesting website, Alex 😂
20th Dec 2018, 12:02 PM
Gordon
Gordon - avatar
+ 3
😂😂😂
20th Dec 2018, 12:16 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 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
20th Dec 2018, 1:47 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
0
It is not just an alert box, modal is used.
7th Jan 2019, 9:45 AM
Ynelle Kyle Novicio
Ynelle Kyle Novicio - avatar
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.
7th Jan 2019, 9:51 AM
Ynelle Kyle Novicio
Ynelle Kyle Novicio - avatar