Print Page | Close Window

JavaScript error in Version 7 RC1

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=1974
Printed Date: 01 April 2026 at 7:55pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: JavaScript error in Version 7 RC1
Posted By: wgbeatty
Subject: JavaScript error in Version 7 RC1
Date Posted: 21 April 2003 at 6:58pm

Hey all-

Curious if anyone has had this problem:

On the members.asp page, you can click on members and have their profiles pop-up. This works fine. Then the page pop_up_profile.asp pops up with the selected member profile. If that member allows for email to be sent, there is an icon to click to send the member an email. When I click on this icon, apparently the pop_up_profile.asp window is suppose to close, and the focus is suppose to go back to the parent (main) browser window. This doesn't happen properly. In IE 6, I enabled the status bar in the pop-up, and saw the following error message:

Class Doesn't Support Action. It appears to be a problem with this code:

<script language="JavaScript">

//Function to open link in main window
function openInMainWin(winLocation){
 window.opener.location.href = winLocation
 window.opener.focus();
 window.close();
}
</script>

I tested in NN7 as well, and the pop-up closed properly, but the main window reloaded the default.asp page for the forum.

Anyone experienced this? I believe I have everything set as far as email (CDONTS) - I know this is a JavaScript problem. I'm not very proficient with JavaScript.

Thanks,

Warren




Replies:
Posted By: wgbeatty
Date Posted: 21 April 2003 at 9:15pm

Sorry - the error was:

Class doesn't support Automation

I may have narrowed it down to a Microsoft update. Is the Java Virtual Machine used for Java Applets and client-side JavaScript? MS had a security update to the VM last week that I installed. Seems since then, JavaScripts can't run that close a pop-up window and return to the parent window that opened the pop-up...maybe more (haven't run into anything else yet). Strange.

No one else has experienced problems such as this?

 



Posted By: LXBEEN
Date Posted: 22 June 2003 at 5:08pm

I had the same experience.how to change the code?




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net