iframe and load/unload events

G

gesres

I'm using an iframe to host an .aspx form. When I replace the source,
via javascript, with a new .aspx page, the unload event doesn't fire,
nor does the load even fire when I restore the original page. I want
them to. Thanks for any suggestions.
 
E

Eliyahu Goldin

Could be you are having a caching problem. Try calling the page with a
random query parameter to trick the browser into updating it every time from
the server.

Eliyahu
 
G

gesres

<<Could be you are having a caching problem. >>

I turned off caching and that seemed to solve the problem.

Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top