Print Page | Close Window

Firefox problems

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=16146
Printed Date: 29 March 2026 at 8:42am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Firefox problems
Posted By: tbig
Subject: Firefox problems
Date Posted: 08 August 2005 at 1:16pm
Hi guys,
 
Making sure I've done this correctly. The code works like a charm in IE but in FireFox, the editor box doesn't line up with the text area and also does not work. I have:
 
     <%
    'Name of the HTML form the textarea is within
    strFormName = "reply"
 
    'ID tag name of HTML textarea being replaced
    strTextAreaName = "strRBody"
    %>
    <!-- include the Web Wiz Rich Text Editor -->
    <!--#include file="RTE_editor_inc.asp" -->
    <textarea rows="10" name="strRBody" cols="64"></textarea>
 
And initialiseWebWizRTE(); onload in the body. I get a bunch of JS problems in FireFox such as:
 
Error: textArea has no properties
Source File:
http://www.coldclimbs.co.uk/forum/RTE_javascript.asp?Textarea=strRBody - http://www.coldclimbs.co.uk/forum/RTE_javascript.asp?textArea=strRBody
Line: 21
 
and
 
Error: document.getElementById("WebWizRTE") has no properties
Source File:
http://www.coldclimbs.co.uk/forum/RTE_javascript.asp?Textarea=strRBody - http://www.coldclimbs.co.uk/forum/RTE_javascript.asp?textArea=strRBody
Line: 126
^^ This appears whenever you click on bold or italics.
 
Thanks in advance,
Trevor



Replies:
Posted By: WebWiz-Bruce
Date Posted: 09 August 2005 at 6:55am
Should work fine in Firefox as I wrote it and tested it more in Firefox than IE.

You could try changing the name of the form from 'reply' to something else as this could be couring the problems.


-------------
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: tbig
Date Posted: 09 August 2005 at 4:21pm
I changed strFormName to "doNewReply" and still no go. Very peculiar Confused


Posted By: itechcs
Date Posted: 30 December 2005 at 10:30pm
I had the same problem, but I found that you have to use the ID value of the textarea, not the NAME.  Try this:
 
<textarea rows="10" ID="strRBody" cols="64"></textarea>
 
You can give it whatever name you want, but you have to define the ID attribute and use that as the value for strTextAreaName.
 
HOWEVER, the strFormName does use the NAME attribute on the <FORM> tag.

It can be confusing...one uses ID, the other uses NAME.  Confused

Once I got it straight, it worked fine for me in IE and Firefox.
 
Thanks,
William Eaton, MCSE
iTech Computer Solutions, LLC
http://www.itechcs.com - www.itechcs.com
 
 


Posted By: wistex
Date Posted: 01 February 2006 at 7:23am
I ran into this too.  It was a bit confusing at first until I figured out my trial and error the ID/NAME thing you just mentioned.

-------------
http://www.wistex.com" rel="nofollow - WisTex Solutions
http://www.caribbeanchoice.com/forums" rel="nofollow - CaribbeanChoice Forums



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