Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old July 26th, 2002, 08:39 PM
romeovoid romeovoid is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 14 romeovoid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
HTMLeditor - Error: 'selFont' is undefined

Please, can someone help me.

I've put together the newsposts.asp file to the best of my ability, but consistently get the error stated above or something like it, i.e. some object is not defined for the JavaScript to run. I get the error when I click on the 'toggle HTML' button.

I have included the site files.

If I remove the <form> </form> tags that surround the massive html table(s) portion the page (newsposts.asp) the toggle switch will work fine.

I'm at a loss as to the cause of this Error: 'selFont' is undefined message.

Your assistance is most (deperately) appreciated.

R.
Attached Files
File Type: zip supportfile.zip (11.0 KB, 424 views)

Reply With Quote
  #2  
Old July 27th, 2002, 12:19 AM
mytch mytch is offline
Dev Articles Novice (500 - 999 posts)
 
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 589 mytch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Hey Hey,
Simple fix. Replace any calls to selFont in your JavaScript code with document.all.selFont or document.form1.selFont replacing form1 with the name/id of your form

Reply With Quote
  #3  
Old July 27th, 2002, 06:24 AM
romeovoid romeovoid is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 14 romeovoid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Yee haaah !

Yes, that worked. Thank you oh so much.

I guess I gotta go read up on the properties of the document object.

Thanks again.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > HTMLeditor - Error: 'selFont' is undefined


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway