I have prompt dialog box which take Email value and need to pass the Email variable in another function Email(). Here is my code.
function promptMessage() {
public var Email = prompt("Enter your Email :", "");
}
function Email(){
alert("Email Address is " +Email); //Email from promptMessage() function
}
publicdoing there?