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