I'm sure you've gotten alot of crap for this question, but here is some code
to invoke a new window
the window object has 2 functions we are concerned with window.open(), and
window.close().
you can call open() and pass it the arguments to initialize your new window
with...

var newWin = window.open(html,name,features);

html = the code or a url of a html document (ie you could put the url of a
jsp)
name = name the window if you plan to script agaisnt it
features = a comma seperated list of
featrues("toolbars,statusbar,resize...")

you can also invoke this from a link
<a href="javascript:window.open(...)"> or
<a href=javascript:viod(0)" onclick='window.open(...)'>(the void(0) function
is an easy way to do nothing, pass it 0 everytime.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Raj S
Sent: Saturday, September 23, 2000 11:55 AM
To: [EMAIL PROTECTED]
Subject: Pop Up Window


Hi,
   Can someone suggest how to get a pop up window in JSP?I am deleting a
value,so I just want to pop up window,which can confirm from the user
something like Are you sure you want to delete this value?
If User presses Yes then I want to invoke the JSP which has the
functionality to delete this entry.

Thanks in advance,

Raj
_________________________________________________________________________
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

Reply via email to