I need to pass the variable 'yourname' that I capture in the javascript prompt() to an ASP, then have that variable placed inside an sql statement, followed by populating a form with the results of the sql statement. **I MUST populate the form with the data, including three different drop down boxes. Lost is putting it mildly, I do not know where to begin. However, I was considering passing the values from the sql statement into Session variables and assigning those variables to the form fields. How does that sound?
This is the function that I am using to capture the user Id.
function PassName()
{
yourname = prompt("Please enter your user ID", ""
setTimeout("top.location.href = '/CorrectInfo.asp'",250);
}
Response.Write "<A HREF='javascriptassName()'>Click Here</A>"
Your assistance is VERY much appreciated.
This is the function that I am using to capture the user Id.
function PassName()
{
yourname = prompt("Please enter your user ID", ""
setTimeout("top.location.href = '/CorrectInfo.asp'",250);
}
Response.Write "<A HREF='javascriptassName()'>Click Here</A>"
Your assistance is VERY much appreciated.