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 2 1788
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.co m> wrote in message
news:OJ******** ********@TK2MSF TNGP12.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
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.co m> wrote in message
news:OJ******** ********@TK2MSF TNGP12.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 variable) and some
stuff like that. If I in the "main" frame change user (its a drop down
list with choices from a MySQL DB) I would like to reflect that in the
status row in the "top" frame. If I do a "header( Location blablabla )",
that page is...
|
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 doesn't want the whole page to be
refreshed so that buttons and images around the information do not get
reloaded each time. Is this really possible?
Other pages on this site don't use frames, so this page can't use frams too.
Creating an ActiveX...
|
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 right with a table for viewing the contents of
these messages. The left pane checks back with the server every few seconds
to see if any new messages need to be processed and updates count
accordingly.
|
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??
Private Sub addMachine_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles addMachine.Click
Dim sScript As New System.Text.StringBuilder
sScript.Append("<SCRIPT language=""javascript"">" & vbCrLf)
|
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 control whose associated action
is to add a record to a database table. The "other" frame is displaying a
view of that table and I want it to automatically refresh to display the new
record.
Is there a way to accomplish this via ASP; i.e., without...
| |
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 in a database (Sql Server
2000).
I want to automatic update the datagrid when new new posts arrives in
the table. Before the datagird is updated, the choosen index from the
|
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 window to refresh, based on
its caption.
For example, there is a web site that I want to keep active where I normally
have to refresh it manually before it times out (every 15 min or so). I
might be doing something else at the time so I don't...
|
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 duplicate so many time, also i'm using a removeloop if the client want to remove the frame, in the html of the page i'm creating a table and i'm calling this loop, the problem now is that when i'm calling the removeloop it removes the frame but not the...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |