Javascript: force no frames and POST?
I am using the following code to force the surrounding frames to be removed on page load: "(! Parent.frames.length = 0) if top.location = 'pagename.html';" OnLoad =
I am wondering if I can combine this with a post request (I have an iFrame that sends, which will not work with target = "_ top", so I am redirected to an intermediate page and want to remove frames with the above code, but keep submitting data on the last page).
+2
source to share