You have got to be kidding!
1. This is not the one-stop-shop for your answers.
2. Class is not in session on this list.
3. This is a JSP list.
4. JavaScript is so heavily documented on the Internet you can find info
about it anywhere.
5. Go R-E-A-D!!
To All:
Don't support lazy programmers. Let them read and learn for themselves.
Lack of information is no excuse anymore.
My opinion,
MD
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of sufi malak
Sent: Monday, September 18, 2000 1:41 PM
To: [EMAIL PROTECTED]
Subject: Re: javascript, how to close a dialog ?
Hi, could you please show me where to put OnClick event, I will appreciate
if someone give me a small example of a form.
Thanks
>From: Michael Quale <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: javascript, how to close a dialog ?
>Date: Mon, 18 Sep 2000 15:07:28 -0500
>
>Try OnClick event!
>
>-----Original Message-----
>From: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]On Behalf Of sufi malak
>Sent: Monday, September 18, 2000 2:51 PM
>To: [EMAIL PROTECTED]
>Subject: javascript, how to close a dialog ?
>
>
>I have this dialog :
><html> <head> <title>Untitled Document</title>
><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
><SCRIPT language="JavaScript">
>function testReload()
>{
> window.opener.parent.left.location.href = "select.jsp";
>}
></SCRIPT>
></head> <body bgcolor="#FFFFFF">
><form method="get" onsubmit="testReload();" >
><table width="300" border="0" cellspacing="5" cellpadding="0">
><tr align="left" valign="top">
><td><font color="#9999FF">Enter node to edit or choose "Browse"
>or
>"Search" to find one
></font></td></tr>
><tr align="left" valign="top">
><td>
><table width="100%" border="0" cellspacing="0" cellpadding="0">
><tr align="left" valign="top"><td rowspan="2">
><input type="text" name="thekey" value="">
></td>
><td> <! -- <input type="submit" name="Submit1" value="Browse"> -->
></td></tr>
><tr> <td><! -- <input type="submit" name="Submit2" value="Search"> -->
></td></tr>
></table> </td> </tr>
><tr align="left" valign="top"><td><div align="center">
><input type="submit" name="Submit3" value="Okey" >
><! -- <input type="submit" name="Submit4" value="Cancel"> --> </div>
></td> </tr></table>
><p> </p>
><p> </p>
></form>
></body>
></html>
>
>I don't know how to close this html dialog when the user click in Okey
>button, I know I have to use window.close(), but where ??
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets