Jump to content


Photo

Double action form


  • Please log in to reply
1 reply to this topic

#1 peffo

peffo
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 29 October 2006 - 08:14 AM

Hi
I need help how to have a form-submit to reload two frames.
The site consist of a frameset, with a shopping chart summary in the menu-frame.
When costumer click submit in an orderform in the main frame, I need to have the menu-frame reloaded, restoring the chart-summary.

Anyone?

Peter

#2 alpine

alpine
  • Members
  • PipPipPip
  • Advanced Member
  • 756 posts
  • LocationNorway

Posted 29 October 2006 - 08:27 AM

Quite a while since frames was an issue for me, but i believe you can set a form like this:
<form name="Myform" method="post" action="chart.php" target="Right frame">
..where Right frame is the name of your desired frame name.

BUT - i recomend to use AJAX on such processing, it's fun and very flexible - making very smooth livechanges on your site.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users