variable popup

Playcowl

New Member
i've got this code <BR>buAddAttachments.Attributes.Add("onclick","window.open('AddAttachment.aspx?ID="+issueID+"', 'adWin','resizable=no,scrollbars=no,status=no,left =100,top=100,width=600,height=400');return false;");<BR>to let a window popup thet lets you attach files to an issue with issueID...<BR>the problem is, the issueID is only known when this button is pressed, so this onclick thing can only be assigned afterwards...<BR>is there any way you can trigger this event to happen anyway, so you don't have to press the button twice?<BR>spanx<BR>
 
Back
Top