JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

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:
  #1  
Old August 8th, 2005, 10:40 AM
WST WST is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 1 WST User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 43 sec
Reputation Power: 0
Question 'object is null or undefined'

This problem is a real challenge? Why would one set of commands work and not another?

I have a WYSIWYG editor that utilizes execCommand for a variety of common functions (Bold, Italic, Underline, Font) that work perfectly well. When i use execCommand for (InsertOrderedList, InsertUnorderedList, JustifyCenter, JustifyLeft, JustifyRight) it somehow (?) causes the page to refresh and i lose all my variables; ending up with a :) error (of course, since it re-initialized!).

Thanks for any thoughts on this?

Last edited by WST : August 10th, 2005 at 05:06 PM. Reason: no responses

Reply With Quote
  #2  
Old August 17th, 2005, 02:38 AM
Mittineague's Avatar
Mittineague Mittineague is offline
Contributing User
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jul 2005
Location: West Springfield, Massachusetts
Posts: 548 Mittineague User rank is Private First Class (20 - 50 Reputation Level)Mittineague User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 1 Day 6 h 35 m 44 sec
Reputation Power: 4
troubleshooting WYSIWYG

You did not name the editor you're using. Perhaps someone else that uses it might be able to help. I don't use WYSIWYGs so I wouldn't know, and I imagine that troubleshooting the source code would be a bit overwhelming. You may have to contact the editor's support team if the info isn't in it's docs.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > execCommand oddity


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 5 hosted by Hostway