Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old May 14th, 2004, 12:14 AM
SnowStorm SnowStorm is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 374 SnowStorm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
js question

Ok, I have a script where a user clicks a button and index.php?Open= opens in a new window, then i have in my php if(isset($_REQUEST['Open'])) it will print out the html i want in the new window, the only problem is it prints it out in both windows instead of only the new one i want it to print in, is there anyway to do this so it will only print in the new window and not both?

And

When i try to use window.close to close the window I just opened after the form is submitted, it wont do it, instead it loads what should be loaded in the main window in the new window. Like I open it like window.open("index.php?Open=", "openfile" ...
and then close it like
window.close("openfile");

but it doesnt work, any ideas?

Reply With Quote
  #2  
Old May 14th, 2004, 12:47 AM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: js question

post the JS Code and I will take a look for you.

Reply With Quote
  #3  
Old May 14th, 2004, 01:16 AM
SnowStorm SnowStorm is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 374 SnowStorm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: js question

i figured out why it wouldnt close, was printing the code in a textarea lol.. the only thing now is how to get the form to submit to the original window and have the original window process it and then close the new window. Basically Im building a file manager, a user clicks open and it opens a popup thats like a browse box where they input the file they want to open. And then in the original window it opens that files contents in a text area for editing.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > js question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway