Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop-up window from form sending values IE(yes) Netscape(No)

Status
Not open for further replies.

gavray

Programmer
Jul 17, 2000
65
GB
Hi,

I have a pop-up window which allows values to be passed to the new window. This works amazingly well in IE but with Netscape it just passes with sands of times going, but no effect. I'm hoping someones got an idea about triggering the form. Many Thanks.....Also any ideas about browser compatibility in different versions, most gratefull.

gav

This is the code:

##the function
<script language=&quot;JavaScript&quot;><!--
function newWindow(file,window) {
msgWindow=open(file,window,'resizable=yes,width=300,height=300,screenX=100,screenY=300,top=100,left=300');
if (msgWindow.opener == null) msgWindow.opener = self;
}
//--></script>

###the form

<form action=&quot;javascript:newWindow('page.asp?ID=<%=var%var=<%=var%>','window2')&quot;>
<input type=&quot;image&quot; src=../images/Credit2.gif border=0>
</form>

HELP ME..... the boho from soho
 
gavray,

something looks funny with your ASP:
newWindow('page.asp?ID=<%=var%var=<%=var%>','window2')

what do you want the querystring to look like when it's done?

======================================

if (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top