I have a form within an iframe that submits the data, then refreshes the parent (using parent.location.reload().
However as the iframe is part of the refresh is goes into a loop of resubmitting the data.
Sorry Dan, not sure I'm really following that one. Bit inexperienced with Javascript.
The iframe appears on the page before submission to aloow submission then after to allow another submission but is in fact resubmitting the previous data.
If you need the iframe on both the 'before' and 'after' pages (as it sounds like you do), then you'd need to tailor the iframe content to not refresh the page on the 'after' version.
Whether this is by changing the src, setting a cookie, or some other method is irrelevant... but you need to do it to stop the loop, IMHO.
Coedit Limited - Delivering standards compliant, accessible web solutions
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.