Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse Hourglass Problems

Status
Not open for further replies.

Lbob

Programmer
May 23, 2003
157
0
0
GB
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=&quot;text/javascript&quot; language=&quot;javascript&quot;>

var newOpt = self.opener.document.createElement(&quot;OPTION&quot;);
newOpt.text = '<%=s%>'
newOpt.value = <%=i%>
self.opener.frm.Lst.add(newOpt);
close();
</script>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top