...

View Full Version : Javascript popup assistance



facets
07-09-2005, 07:52 AM
Hi Everyone,

Can anyone shed some light on the following javascript?
I'm trying to create a popup link with a value taken from a select option.

addSummary is the name of the form
stockId is the name of the select dropdown.

<a href=\"javascript:\" onClick=\"window.open('auAddSummary.php?action=view&stockId=".$stockId."' + document.forms.addSummary.stockId.$stockId, target=_new); return false\">Popup</a>

ta, will



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum