I have a ASP form that posts to a hidden page a redirects to another page.
This form is within a frame but when I post the form I want it to close the current frameset and open a new frameset. which is the redirected set of pages
i'm not sure what exactly you mean with "close the current frameset and open a new frameset " ...
if it's like : the page where the POST form is must change to the redirected page, then you have nothing more to do (just set the frameset name as the target value)
if it's actually closing the frameset and opening a new one, use the "onsubmit" even (beware that this event fires BEFORE the form is submitted, and it HAS TO return true so that the form is actually submitted) - or use an "onclick" event on the submit button (like : onclick="top.this_frameset.close(); top.another_frameset.open(...);the_form.submit()"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.