iframe and load/unload events

  • Thread starter Thread starter gesres
  • Start date Start date
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.
 
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
 
<<Could be you are having a caching problem. >>

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

Thank you!
 
Back
Top