input prompt
by Akram kamal
HTML
<button onclick="myFunction()">Add Another Email</button>
JavaScript
function myFunction() {
var email = prompt('Please enter the email address', '[email protected]');
if (email !== "") {
alert(email);
}
}