Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a variable to a pop-up window from within a URL

Status
Not open for further replies.

programmher

Programmer
May 25, 2000
235
US
I am attempting to pass a variable from my main form into a pop-up window. My main form needs to remain open. I am passing the variable using <a href>. I see the actual value of my variable at the bottom of my main form; but, when I select my link, I get an &quot;error on the page&quot; message. Below is my code:


<a href=&quot;javascript:eek:penPopUpWin()?#customer_name#&quot;>View Customer Details Here</a>

Can anyone lend any assistance? I am looking through other messages in hopes of finding a similar question...
 
look inside openPopUp... and look for a url parameter and add it on there, it should like something like this:

window.open('someurl?'+#customer_name#) jared@aauser.com -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top