Javascript Problem?
I have been asked by a client to determine the source of a problem in their classic ASP site which was compiled into a .dll.
When navigating the site, one can drill down until they get to a “click here to run a report” type function. Once the link is clicked on, it calls another page to display the results. Once you click on the link, it takes a while for the query to execute, and then the next page shows the results.
Here is what is really weird.
The menu where you click to run the report uses normal <A HREF style links, with associated onMouseOver and onMouseOut events. These events do an image swap.
The code looks like this:
<A HREF=’Report.asp?id=1′ onMouseOver=’imgInfo.src=”images/flashreportinfo.gif”;’ onMouseOut=’imgInfo.src=”images/ReportSelect.gif”;’>Flash Report</A>
The problem is that if put your mouse over the link, and very carefully click on it, and DONT MOVE THE MOUSE, it will take xx seconds to load, and eventually take you to the page.
If on the other hand you onMouseOver the link and click on the link, wait xx seconds, and inadvertantly move the mouse before the sql/asp return any results, the onMouseOut even fires, and although the url was clicked, and the page is waiting for a response (based on the progress bar at the bottom of the browser) as the query executes, as soon as the mouse moves, it cancels the http request and the user is left with the same page, wondering if they clicked on it.
Any ideas as to what is causing this?