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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh the main window after closing the child window in Netscape

Status
Not open for further replies.

philrm

MIS
Jun 1, 1999
58
AU
Hi all,
function = unload(){
opener.location.reload(true)
}

& then just close your popup as you did it before

2. refresh opener before closing:

&quot;><a href=&quot;#&quot; onClick=&quot;opener.location.reload(true);self.close()&quot;><font size=&quot;4&quot;>Close
window after entering</font></a>

I found the code worked very well in IE browser but it doesn't work at all in Netscape browsers . Is there a solution for this if so could please help out. This the error coming for Netscape. It is trying to resubmit the parent window <CFUPDATE> statement, rather than normal refresh.

The field site_id was not found in the Form input. This field is required in order to do an UPDATE because it is part of the primary key for
the T_SOIL_SITE table.

Data Source = &quot;TEST&quot;

SQL = &quot;&quot;

Data Source = &quot;TEST&quot;

The error occurred while processing an element with a general identifier of (CFUPDATE), occupying document position (127:1) to (127:67)
in the template file E:\WEBDEV\TEMP\COLD\LOGINONE\FORMTWO\FORMTWO.CFM.


javascript error: window.opener has no properties.

Thanks
 
Could you clearify a little? You want to reload the page without executing the CF on the page (<CFUPDATE>)? This isn't possible, when you reload/refresh the page it will execute all CF.

Is your error coming from CF then, or from JavaScript? - tleish
 
In IE the page will &quot;refresh&quot; with no problems but in Netscape it tries to run a cfupdate statment that is used to submit information from a previous form. The situation is this. We have a series of forms which obviously put data into an sql database Hence CF. On one form we have links to popup windows that allow entry of data that is in one to many relationship with the table the parent form is based on. The users want to be able to see how many records are under each link. However to do this as we are at present we need to refresh the record count in the appropriate recordset when the popup is closed or users will be lost. IE I just put data in where did it go???. IE 5.5 and above will do this but our organisation is still using Netscape 4.76 at present. They are planning to update the standard op env some time this year but this project needs to be up in about 4 weeks. If anyone has any solutions or alternative methods of doing what I need to do I would be exstatic????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top