Print Page | Close Window

Javascript (?) ASP Page Problem

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=15016
Printed Date: 29 March 2026 at 12:33pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Javascript (?) ASP Page Problem
Posted By: pjpeter
Subject: Javascript (?) ASP Page Problem
Date Posted: 10 May 2005 at 3:15pm
I get the following error when I try to use the instructions to convert a Text Area I have on a Javascript page:
 
"
Error Type:
Microsoft JScript compilation (0x800A03F7)
Unterminated string constant
/stmarks/functions/RTE_functions_common.asp, line 2, column 89
'****************************************************************************************
----------------------------------------------------------------------------------------^
"
 
Right now I am able to use the RTE box to enter posts into my ASP database, but my edit page does not work. My edit page is in Javascript, and my post page is in VBScript. So the VBScript page works fine, but the other gives this error.
 
 
The Browser I was using when I got this error was IE.
 
Thank you,
Peter
 



Replies:
Posted By: WebWiz-Bruce
Date Posted: 10 May 2005 at 3:51pm
The RTE files are written in VBscript.

If you want to use JScript you will need to convert the entire page to JScript to prevent the errors you are getting.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: pjpeter
Date Posted: 10 May 2005 at 4:33pm
Ya, I realize that now, but I'm working backwards and converting line by line my Javascript code to VBScript - whatever I can't put into a Javascript Script subset anyway.
 
Wish I'd read the fine print and realized this whole thing was VBScript before I already spent so long integrating it, my ownstupidity.
 
By the way, if anyone knows. I'm having some trouble translating this statement from Javascript to VBScript.
 
Any help would be most appreciated:
 
    MM_editRedirectUrl += ((MM_editRedirectUrl.indexOf('?') == -1)?"?":"&") + Request.QueryString;
 
So far I have:
 
    MM_editRedirectUrl = MM_editRedirectUrl +((MM_editRedirectUrl.indexOf('?') == -1)?"?":"&") + Request.QueryString
 
But I haven't been able to get further.
 
Thanks,
 
Peter
 
Edit: Nevermind, I completely recoded the page using a different method, it took about 6 hours or so of solid work but my Web Wiz system is finally up. Thanks.
 
I just wish the VBScript notice was a bit larger because I completely missed it.
 



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