Link to home
Start Free TrialLog in
Avatar of dodgerfan
dodgerfanFlag for United States of America

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.
ASKER CERTIFIED SOLUTION
Avatar of Daniel Van Der Werken
Daniel Van Der Werken
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial