Language used: ASP
On the main page i have one button. On clicking this button a
popup window opens up, displaying an asynchronous tree i.e. lazy
loading (loading and displaying the 'immediate' children of the
clicked node, instead of loading all the children, sub-children,
sub-sub-children all at once).
Using 'jquery' the tree is displayed. All the nodes of the tree
are in the form of links, on clicking on any link, the popup
window closes and the selected string is displayed in the
textbox on the main page.
On repeating this scenario 3-4 times, i.e. opening the popup
window and selecting any string of the tree; IE hangs! The popup
window is blank and it seems that it is trying to load the page
but does not do so. It waits indefinitely. Moreover all the
links on the site stop working. (All the links pertaining to any
'request to the server' stop working).
The file from where we are opening the tree is as followed:
<html>
<head>
<title>
</title>
<!-- #include virtual="/config/Data.asp" -->
<link rel="stylesheet" href="/css/jquery/jquery.treeview.css"
/>
<link href="/css/mainPage.css" rel="stylesheet" />
<script src="/lib/js/jquery/jquery.js"
type="text/javascript"></script>
<script src="/lib/js/jquery/jquery.cookie.js"
type="text/javascript"></script>
<script src="/lib/js/jquery/jquery.treeview.js"
type="text/javascript"></script>
<script src="/lib/js/jquery/jquery.treeview.async.js"
type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#black").treeview({
url:
'ASPfile.asp?fName=<%=Request.QueryString("fName")%>&fType=<%=Re
quest.QueryString("fType")%>',
control:"#treectrl"
})
});
</script>
</head>
<body style="background-color:#fcfefd;font-size:1" >
<font face="Verdana" size="2">
<div id = "tree_popup">
<div id="treectrl"></div>
</div>
<ul id="black">
</ul>
</font>
</body>
</html>
Please help. Thanks.