0

How can one use a placeholder within a prompt box?

var email= <input type="password" placeholder="eg:example@gmail.com"> prompt("enter your email");

13th Dec 2017, 6:48 AM
Stacy Kendi
2 Answers
+ 12
prompt("enter email:", "placeholder email");
13th Dec 2017, 9:09 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
0
Thanks let me try it out
15th Dec 2017, 7:48 AM
Stacy Kendi