Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Firefox problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedFirefox problems

 Post Reply Post Reply
Author
tbig View Drop Down
Newbie
Newbie
Avatar

Joined: 08 August 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote tbig Quote  Post ReplyReply Direct Link To This Post Topic: Firefox problems
    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
Line: 21
 
and
 
Error: document.getElementById("WebWizRTE") has no properties
Source File:
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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
tbig View Drop Down
Newbie
Newbie
Avatar

Joined: 08 August 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote tbig Quote  Post ReplyReply Direct Link To This Post Posted: 09 August 2005 at 4:21pm
I changed strFormName to "doNewReply" and still no go. Very peculiar Confused
Back to Top
itechcs View Drop Down
Newbie
Newbie


Joined: 30 December 2005
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote itechcs Quote  Post ReplyReply Direct Link To This Post 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
 
 
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.