Forum Moderators: open
Problem I'm having is the variables don't pass along in the form.
<FORM>
<input type="hidden" name="doc" value="<%=doc%>">
<input type="hidden" name="procid" value="<%=procID%>">
<input type="hidden" name="cityid" value="<%=CityID%>">
<input type="hidden" name="referpage" value="<% =pagename %>">
<INPUT type="submit" value="New Window!" onClick="window.open('/procedures/DoctorPhone.asp','mywindow','width=300,height=200')">
</form>
Clicking this opens the correct file but with none of the variables passed through
If you don't want the popup window to be customized (leave it up to the browser how it will look like), set the <form>'s target attribute to _blank.
If you want to change some aspects of the popup window (like the width and height in your example), then see this thread [webmasterworld.com] for more information on how to do that.