Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 03-28-2006, 10:04 AM window url update
Novice Talker

Posts: 5
Trades: 0
2 pages in html : in the first one, there is an input box for stock symbol, a button search and a list displaying the values for a certain stock symbol.

the 2nd page displays the user's portfolio. the user can select a stock from the 2nd page, click on a button called details.the 1st page is opened with stock values of the selected stock.

now of course, values of stock are passed in the window url to the 1st page.
the problem is that i want to refresh the 1st page and remove all the values from the window ur in order for the 1st page to clear all values.

how do i do that???
mariechristine is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-29-2006, 06:24 AM Re: window url update
Novice Talker

Posts: 5
Trades: 0
guys! no reply!!! didn't u get my problem??

need urgent solution!!
thnks
mariechristine is offline
Reply With Quote
View Public Profile
 
Old 03-29-2006, 09:23 AM Re: window url update
Unknown.

Posts: 1,693
Trades: 0
Code:
window.location = "whatever.htm"
seems like what you need.
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Old 03-30-2006, 04:24 AM Re: window url update
Super Talker

Posts: 144
Trades: 0
i'm not following. is the 2nd page opened from the first page as a popup? in that case, window.opener will refer to the window which opened the popup. so,

window.opener.location.href = "blah.html?name=value&pairs";

is it a frame? top.frames.frameName.location.href

I'm also confused on what you mean by..
Quote:
refresh the 1st page and remove all the values from the window ur in order for the 1st page to clear all values
you just want to load a new page in that window?
__________________
create.vibe

Please login or register to view this content. Registration is FREE
createvibe.com is offline
Reply With Quote
View Public Profile Visit createvibe.com's homepage!
 
Old 04-06-2006, 06:37 AM Re: window url update
Novice Talker

Posts: 5
Trades: 0
the 1st page url is:
http://localhost/asmce/worldtoday/st...1&languageID=2

when clicking on a profile button in this page, the 2nd page opens with url:
http://localhost/asmce/worldtoday/st...1&languageID=2

in this 2nd page, all user favorite stocks names are displayed. the user selects a stock name and clicks on Details button. The 1st page is opened with this stocks values by url:
http://localhost/asmce/worldtoday/st...ge=24.25-28.38

Now i am in the 1st page, i want that when i click on F5, i want this selected values cleared and for that i need back to display the url http://localhost/asmce/worldtoday/st...1&languageID=2

I tried to set window.location or even window.navigate when clicking on F5 but sill no use.

Any solution?
mariechristine is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to window url update
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30320 seconds with 12 queries