How to Close a Window??

This is a discussion on How to Close a Window?? within the Javascript forums in Programming Languages category; Hi all I have a webform with Java Script as Client script. I have opened a window using window.open() function. Now, i want to close the same from the parent window.. How do i do it?? pls help me . very urgent.. I think i have posted the question in the right area.. if wrong i regret for it.. Thanks...

Go Back   Application Development Forum > Programming Languages > Javascript

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-24-2004, 04:46 AM
=?Utf-8?B?U2l2YXJhbWFu?=
Guest
 
Default How to Close a Window??

Hi all
I have a webform with Java Script as Client script. I have opened a window using window.open() function. Now, i want to close the same from the parent window.. How do i do it?? pls help me . very urgent.. I think i have posted the question in the right area.. if wrong i regret for it..
Thanks

Reply With Quote
  #2  
Old 02-25-2004, 06:46 PM
bruce barker
Guest
 
Default Re: How to Close a Window??

var win = window.open(url); // open
win.close(); // close

-- bruce (sqlwork.com)



"Sivaraman" <sivaraman@takescm.com> wrote in message
news:0A4D8BC9-AA54-423B-B252-63D6542BCC48@microsoft.com...
> Hi all,
> I have a webform with Java Script as Client script. I have opened a

window using window.open() function. Now, i want to close the same from the
parent window.. How do i do it?? pls help me . very urgent.. I think i have
posted the question in the right area.. if wrong i regret for it..
> Thanks
>



Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:05 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.