Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-08-2007, 06:46 AM   PM User | #1
shramana
New to the CF scene

 
Join Date: Dec 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
shramana is an unknown quantity at this point
Closing multiple popup windows

Hi,

I am having an html page which contains a list of entries with a checkbox for each entry. On clicking an entry, a new popup will open with the profile details of that entry. In the html page, multiple entries can be selected using the checkboxes and deleted. However, when if I already have a few popup windows open, and I delete a few entries in the html page and delete them, the associated pop windows won't close. Can someone tell me how I can achieve this ?

Thanks.
shramana is offline   Reply With Quote
Old 01-08-2007, 08:00 AM   PM User | #2
SpirtOfGrandeur
Regular Coder

 
Join Date: May 2005
Location: Michigan, USA
Posts: 566
Thanks: 0
Thanked 0 Times in 0 Posts
SpirtOfGrandeur is an unknown quantity at this point
This one is pretty vague but I will take a run at it.

I think what you want to happen is when you click open from one page you also want to close it from that same page. This is possible using javascript.

Code:
//opening function
var o = window.open(some_url);

//closing function
o.close();
__________________
Note: I do not test code. I just write it off the top of my head. There might be bugs in it! But if any thing I gave you the overall theory of what you need to accomplish. Also there are plenty of other ways to accomplish this same thing. I just gave one example of it. Other ways might be faster and more efficient.
SpirtOfGrandeur is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:22 AM.


Advertisement
Log in to turn off these ads.