Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Top (htm) and bottom (asp) frames

the home.htm page has 2 frames (Top (htm) and bottom (asp) frames)

users use top frame to submit input

the bottom frame is the input records

how can i update or refresh the bottom frame (asp.page) once the user submit data at top frame.

Thanks a lot.

Tony :WAVE: :WAVE:
[315 byte] By [Tony WONG] at [2007-11-11 6:38:31]
# 1 Re: Top (htm) and bottom (asp) frames
Tony,

One option is to use Javascript to submit the form and once the submission is complete have Javascript reset the location.href value of the bottom frame to itself (the same ASP page).

Good luck,
msanchez at 2007-11-11 17:28:07 >
# 2 Re: Top (htm) and bottom (asp) frames
or simple <form target="name of bottom frame">...

not a great fan of frames...try using xmlhttp, innerHtml instead. or google aorund for the AJAX framework. u'll love it.
ishafizan at 2007-11-11 17:29:07 >