G
Geoff Cox
Hello,
I have the code below on the first page and the value of the "name"
variable is available on the second page but the firstname and
secondname values are not...
What am I misisng here?
Thanks,
Geoff
function prompter(button)
{
name=prompt('What\'s your name?',"Please enter your name here");
Response=alert("Welcome "+name);
both = name.split(' ');
firstname = both[0];
lastname = both[1];
}
I have the code below on the first page and the value of the "name"
variable is available on the second page but the firstname and
secondname values are not...
What am I misisng here?
Thanks,
Geoff
function prompter(button)
{
name=prompt('What\'s your name?',"Please enter your name here");
Response=alert("Welcome "+name);
both = name.split(' ');
firstname = both[0];
lastname = both[1];
}