Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] how can I check for a window being open..


  • From: javascript@xxxxxxxxxx (Scott.Wiseman)
  • Subject: [Javascript] how can I check for a window being open..
  • Date: Fri, 21 Sep 2001 12:24:32 -0700

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C142D3.0BC0DDAA
Content-Type: text/plain;
	charset="iso-8859-1"

I have 2 commands to pop open a window
one checks the database for a duplicate value.
and if one is found alert the user,
if not then open the second pop up.
have the second pop up wait for the first pop up
to close...so how would this be done.

Thanks Sc0tt


	
popup_window('/testing/admin/CheckForDupProfile.asp?PID='+document.myform.ne
wprofileid.value,'CheckForDupProfile','50','50');
	
popup_window('/testing/admin/profileidCheck.asp?NEWID='+xpid.value+'&PID='+d
ocument.myform.profileid.value+'&OID='+document.myform.oldfranchiseid.value,
'profileidCheck2','50','50');

------_=_NextPart_001_01C142D3.0BC0DDAA
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>how can I check for a window being open..</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I have 2 commands to pop open a window</FONT>
<BR><FONT SIZE=3D2>one checks the database for a duplicate =
value.</FONT>
<BR><FONT SIZE=3D2>and if one is found alert the user,</FONT>
<BR><FONT SIZE=3D2>if not then open the second pop up.</FONT>
<BR><FONT SIZE=3D2>have the second pop up wait for the first pop =
up</FONT>
<BR><FONT SIZE=3D2>to close...so how would this be done.</FONT>
</P>

<P><FONT SIZE=3D2>Thanks Sc0tt</FONT>
</P>
<BR>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT SIZE=3D2> =
popup_window('/testing/admin/CheckForDupProfile.asp?PID=3D'+document.myf=
orm.newprofileid.value,'CheckForDupProfile','50','50');</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT SIZE=3D2> =
popup_window('/testing/admin/profileidCheck.asp?NEWID=3D'+xpid.value+'&a=
mp;PID=3D'+document.myform.profileid.value+'&amp;OID=3D'+document.myform=
.oldfranchiseid.value,'profileidCheck2','50','50');</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C142D3.0BC0DDAA--