Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / August 2005



Tip: Looking for answers? Try searching our database.

passing variables to a popup window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ross - 31 Aug 2005 10:23 GMT
<a href="view_details.php"
onClick="window.open('view_details.php?id=<?=$row['id'];?>&sname=<?=$row['sname'];?>')">
details</a>

Have got this so far but need to get the width and height set. Cannot seem
to get he syntax right.

Cheers,

Ross.
Randy Webb - 31 Aug 2005 22:17 GMT
Ross said the following on 8/31/2005 5:23 AM:

> <a href="view_details.php"
> onClick="window.open('view_details.php?id=<?=$row['id'];?>&sname=<?=$row['sname'];?>')">
> details</a>
>
> Have got this so far but need to get the width and height set. Cannot seem
> to get he syntax right.

Start by posting the code that actually gets sent to the browser, not
the PHP code that produces the HTML.

Then, in your onclick, return false.

Other than that, without seeing what the browser gets, you are playing a
Russian Roulette guessing game.

Signature

Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.