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

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 April 11th, 2003, 02:09 PM
Juice Terry Juice Terry is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 4 Juice Terry User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
DHTML / WYSIWYG Editor

Has anybody solved how to get data out of a MySql database and into an <iframe> for EDITING purposes in a WYSIWIG style editor?

I read the post here ... dhtml editor ... and it "nearly" works for me.

Using the suggestion in that thread, I can get the data into the iframe, but in the browser my page stops displaying at that point. So, no Submit button or closing html tags.

Is there anybody who has actually been able to get this to work?This problem has been perplexing me for awhile now. Any help would be much appreciated.

Thanks.

Reply With Quote
  #2  
Old April 11th, 2003, 08:28 PM
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
Hi JT,
All you need to do is use:

myIFrame.document.write("<b>test</b>");
myIFrame.document.close();

The myIFrame.document.close(); line is the big clincher, and without it writing to the iframe wont work. Give it a try and it should work fine

Reply With Quote
  #3  
Old April 12th, 2003, 08:16 PM
omar omar is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 18 omar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Have you tried this?

Have you tried this?
htmlArea

Reply With Quote
  #4  
Old April 15th, 2003, 04:23 PM
Juice Terry Juice Terry is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 4 Juice Terry User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the replies.

Mytch - I've been very busy the last few days, so haven't yet had the opportunity to implement your suggestion. I will, however, give it a try and you'll no doubt here from me again if I cannot figure it out. Btw, if you are 'the' Mytch who is behind DevArticles, please accept my compliments on this website. It is an outstanding resource which I visit often.

Omar - First, I just wanted to figure out how to do it myself, just to know how, if for no other reason. Having said that, I recently downloaded the files for htmlArea and am thinking about using it on my next project. Have you used it yoursef? If so, how do you rate it?

In fact, I'd be interested in hearing reviews from anybody who has used htmlArea who wishes to comment.

Reply With Quote
  #5  
Old May 9th, 2003, 10:17 PM
Juice Terry Juice Terry is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 4 Juice Terry User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Update

Just wanted to update this thread for anybody who encounters a similar problem in the future.

In fact, the initial problem I had was as simple as a missing apostrophe around an attribute value. I was, in fact, able to get the DHTML editor to work by using the approach recommended in the link I posted in the first post in this thread.

Also downloaded HTMLArea and decided to use it in a project I am currently working on. I'm still working on the site, but so far HTMLArea appears to be an excellent alternative to building your own DHTML WYSIWYG editor, and I recommend anybody with a similar need at least check it out.

JT

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > DHTML / WYSIWYG Editor


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 1 hosted by Hostway
Stay green...Green IT