Possible Duplicate:
How to display loading message when an iFrame is loading? — JQuery
I have an <iframe>
element in my code that I am setting the src to a third party site. This source is a search tool, so it has textboxes and a button to click to perform the search. The problem is that this search tool is very slow, so I want to display a loading message to the user after they click on the button to perform the search. Is there a way for me to detect that the <iframe>
is currently loading new content from my page? Since the source is from a third party, I can't handle anything on button click (that I know of at least).