Refresh a single frame inside a table

  • Thread starter Charles A. Lackman
  • Start date
C

Charles A. Lackman

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
 
M

Mark

You will have to use javascript to do this;

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

Cheers
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top