473,399 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Refresh a single frame inside a table

using code how can i refresh a shopping cart that is inside a frame within a
table. When the user clicks "Add to Cart" the frame to the left of the page
needs to refresh to display the new contents of the shopping cart. If the
whole page is refreshed, then the default page loads (aught), the shopping
cart displays the correct contents (yippy), but the user is nolonger where
they were (augh).

Any suggestions would be greatly appreciated,

thanks,

Chuck
Nov 18 '05 #1
2 1777
You will have to use javascript to do this;

something like...
document.frames['FrameName'].location.href = "pageName.html?" + (new
Date().getTime());

Cheers
Mark

--
===================================
e-evolution.net
===================================
"Charles A. Lackman" <Ch*****@cet.com> wrote in message
news:OJ****************@TK2MSFTNGP12.phx.gbl...
using code how can i refresh a shopping cart that is inside a frame within a table. When the user clicks "Add to Cart" the frame to the left of the page needs to refresh to display the new contents of the shopping cart. If the
whole page is refreshed, then the default page loads (aught), the shopping
cart displays the correct contents (yippy), but the user is nolonger where
they were (augh).

Any suggestions would be greatly appreciated,

thanks,

Chuck

Nov 18 '05 #2
This is basically the same problem as the topic Kill the tick sound on
refresh that was posted earlier. In otherwords, update the page data
without reloading the page. Like I told Bruce on that topic, remote
scripting is one way.

The more .Netically correct way, suggested in Alvin Bruney's response to
Kill the tick sound on refresh earlier today is:

http://msdn.microsoft.com/library/de...e/overview.asp

Dale

"Charles A. Lackman" <Ch*****@cet.com> wrote in message
news:OJ****************@TK2MSFTNGP12.phx.gbl...
using code how can i refresh a shopping cart that is inside a frame within a table. When the user clicks "Add to Cart" the frame to the left of the page needs to refresh to display the new contents of the shopping cart. If the
whole page is refreshed, then the default page loads (aught), the shopping
cart displays the correct contents (yippy), but the user is nolonger where
they were (augh).

Any suggestions would be greatly appreciated,

thanks,

Chuck

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: ZoombyWoof | last post by:
Hi. I have a Framed page, and in the "main" frame a userchoise is made. In my "top" frame I have a table containing some status info, the current logged on user (the username is saved in a SESSION...
10
by: Conax | last post by:
Hi there, My boss is hoping that I can come up with a page that displays some information. The information will always be displayed on specific part of the page, with auto refresh. But he...
5
by: Steve | last post by:
Hi, I have a private website for 20 people that is similar to a web email client like hotmail. There are two frames, one on the left with links for "New", "History", "Todays" and a frame on the...
1
by: Helixpoint | last post by:
I have a frameset. left and main. Inside the main frame I have a IFRAME. I need to refresh the main frame when I post a form inside the IFRAME. I am trying the code below with no luck?? ...
2
by: Bill Cohagan | last post by:
I'm trying out ASP.Net and am currently trying to figure out how to refresh the contents of one frame based on a button click in another frame. The button in question is actually a server side...
0
by: Marcus | last post by:
Hello! I'm buildning a webpage in ASP.NET using Visual Basic. The page contains a datagrid, a dropdownlist, some textboxes and a couple of buttons. The datagrid displays barcodes from a table...
8
by: Jason S | last post by:
Hi, is there any way of getting my VB (6.0) program to automatically 'Refresh' an IE window that might be active (window status not applicable). It needs to be able to determine which active IE...
2
by: mrjoka | last post by:
hi experts, i'm developing a page in ASP but i'm doing also some javascript insode the page. i'm creating a frame and i want to loop this frame with a duplicateloop function so the form will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.