dodgerfan
asked on
Javascript open.window in ASP.Net with querystring value
I'm trying to open a form as a popup from an ASP.Net page. When the button is clicked I run this code.
function OpenInfo()
{
window.open("info.aspx", "Employee", "width=650,height=600");
return false;
}
I want to open to a specific record, so I'm trying to use a querystring. info.aspx?id=empid, but I do not know how to get it to grab the empid from the form it is on. It's a hidden field right now. What is the best way to do this? When the form opens its available for edit, so once changes are made I'll need that id again to update the table.
function OpenInfo()
{
window.open("info.aspx", "Employee", "width=650,height=600");
return false;
}
I want to open to a specific record, so I'm trying to use a querystring. info.aspx?id=empid, but I do not know how to get it to grab the empid from the form it is on. It's a hidden field right now. What is the best way to do this? When the form opens its available for edit, so once changes are made I'll need that id again to update the table.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.