Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
37
rated 0 times [  43] [ 6]  / answers: 1 / hits: 47602  / 12 Years ago, mon, february 11, 2013, 12:00:00

I want to open an alert box (Javascript) with one input text, then on user click is submit to another page, its like a form with one input text, all the examples that given are modals examples, i just need an alertbox.


More From » javascript

 Answers
18

Assuming I've understood your question correctly, you can use the DOM prompt method:



var result = prompt(Enter a value);

[#80301] Saturday, February 9, 2013, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jarettajb

Total Points: 678
Total Questions: 94
Total Answers: 90

Location: Guernsey
Member since Tue, Jul 6, 2021
3 Years ago
;