Hi, 

I have a question concerning JavaScript. 

I have a display file, and once the user selects an option from the drop
down list box a smaller pop up screen appears. This pop up screen prompts
the user to enter data. Once they have entered the data, they click submit.
This calls another fuseaction and enters the data into the database. Within
that same fuse I am also calling a file (see below) to close the pop up
screen and refresh the main screen to display the current data. Here is the
code for the js I am using: 

<head>

<script language="javascript">
<!--
 function LoadMe()
 {
  self.close();
 }
// -->
</script>
</head>
 
<body onload="LoadMe()">
<div align="center">

<a href="javascript:window.close()"></a>
 
</div>
</body>

The problem is that the pop up screen should close and the main should
refresh automatically. Instead the pop up window will close, but the user
must manually hit the refresh button on their browser in order for the main
screen to refresh. 
Any help is appreciated. 

Thank you, 
Natasha

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to