[jQuery] .load preventing links on page from working
Hey everyone,
I've just downloaded and started using jQuery v1.2.6 in a web project
i'm working on. When a search result page loads i want to also search
another site and show the results in my page. It looked like the $
([node]).load() function would be the best way of doing this.
I implemented it and it seems to work fine, however, the .load
function can take 5-10 seconds to return any data and in that time,
none of the links on my page will allow the user to navigate away -
which is undesirable. I've read in the documentation that the .load
function is asynchronous by default, so in theory i can't understand
why it would be stopping other content from being usable.
The project is primarily ASP.NET and i use Page.RegisterStartupScript
to write the following javascript to the page so it executes after the
page has completed loading :
<script type="text/javascript">$("#RelatedResults").load("{url}");</
script>
Has anyone got any ideas why this might be happening?
thanks,
Ykoorb