I've got a few pop up windows that i call from a parent window which work brilliantly, although when I return to the main window the mouse hourglass is still ther and won't go away unless you hit refresh. Any ideas on how to get rid of it?
This is my code in the main page calling the popup
function NewDetails(iType)
{
var i = frm.CmbType.value
var s = frm.CmbType.options[frm.CmbType.selectedIndex].text
PopupWindow = window.open("popup.asp?Type="+i ,"Popup","width=400,height=250,left=600,top=300, toolbar=0,status=0,location=0,menubar=0,scrollbars=0,resizable=0"
;
This is my code in the popup
<script type="text/javascript" language="javascript">
var newOpt = self.opener.document.createElement("OPTION"
;
newOpt.text = '<%=s%>'
newOpt.value = <%=i%>
self.opener.frm.Lst.add(newOpt);
close();
</script>
This is my code in the main page calling the popup
function NewDetails(iType)
{
var i = frm.CmbType.value
var s = frm.CmbType.options[frm.CmbType.selectedIndex].text
PopupWindow = window.open("popup.asp?Type="+i ,"Popup","width=400,height=250,left=600,top=300, toolbar=0,status=0,location=0,menubar=0,scrollbars=0,resizable=0"
This is my code in the popup
<script type="text/javascript" language="javascript">
var newOpt = self.opener.document.createElement("OPTION"
newOpt.text = '<%=s%>'
newOpt.value = <%=i%>
self.opener.frm.Lst.add(newOpt);
close();
</script>