use opener..........
not window.opener........
-----Original Message-----
From: Snehal Pandya [mailto:[EMAIL PROTECTED]]
Sent: Wed 3/12/2003 9:04 AM
To: [EMAIL PROTECTED]
Cc:
Subject: Sorry little bit off track
hi friends,
I have problem with the Java Script. I am openning a child window
get select the value then the value will come to the parent window. I have
tried it in HTML file but I am not getting .
I am sending you the code what I have written .
IF possible then send me the answer...
this is parenet window
function windowOpen(){
//alert("it is called")
document.test.action="">
document.test.method="post"
document.test.target="_new";
document.test.submit();
}
and this is childs function
function getIt(){
window.opener.document.test.action="">
window.opener.document.test.method="post";
window.opener.document.test.submit();
window.close();
window.history.go(-1);
}
Please send me the mistakes where I am wrong...
Thanks in advance...
Snehal
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com
Title: RE: Sorry little bit off track
- Sorry little bit off track Snehal Pandya
- Re: Sorry little bit off track Isidoros
- Re: Sorry little bit off track Thomas Coopmeiners
- OT:Save SAFIYIA from stoning sentence Isidoros
- OT: Save SAFIYIA from stoning sentence Isidoros
- Re: OT:Save SAFIYIA from stoning sentence Kenny G. Dubuisson, Jr.
- Re: Sorry little bit off track Partha Ranjan Das
- Re: Sorry little bit off track Sreenath V Reddy
- Re: Sorry little bit off track Wadhwa, Amit