IT Community - Software Programming, Web Development and Technical Support

Freerte_v1 editor work for all browser but i can't get content

This is a discussion on Freerte_v1 editor work for all browser but i can't get content within the C# Programming forums, part of the Software Development category; Freerte_v1 editor work for all browser but I can't get content Now I am working on CMS (Content Management ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 07-15-2007, 10:35 PM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Unhappy Freerte_v1 editor work for all browser but i can't get content

Freerte_v1 editor work for all browser but I can't get content

Now I am working on CMS (Content Management System) module. For CMS implementation I tried using freerte_v1 editor. I have that this editor will be compatible for all the browsers. The contents will be entered in iframe. I am using JavaScript function to populate the contents to a web page.

Here is the function doing the job:

function initRTE(rtePreloadContent, rteCSS)
{
if (!document.designMode)
{
document.write('<textarea id="' + rteFormName), ….


But I can’t retrieve contents.

Can anybody help me to get this done?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-23-2008, 02:58 AM
felipedgarcia felipedgarcia is offline
D-Web Trainee
 
Join Date: Jul 2008
Posts: 1
felipedgarcia is on a distinguished road
Default Re: Freerte_v1 editor work for all browser but i can't get content

Hello guy... I also had to use this editor... To retrieve its content you have to add this code:

<form action="#" method="get">
<script src="editor/js/richtext.js" type="text/javascript" language="javascript"></script>
<script src="editor/js/config.js" type="text/javascript" language="javascript"></script>
<script type="text/javascript">
initRTE('', 'editor/examples/example.css');
</script>
<input type="submit" onClick="javascript:takeContent();" value="Submit Form">
</form>

<script type="text/javascript">
function takeContent() {
alert(getXHTML(trim(document.getElementById(rteFor mName).value)));
}
</script>


But it's impossible to take the value of the content if you don't put in the Code Mode first.

To know more about this editor enter this site:
Free Online Javascript WYSIWYG Rich Text Editor

Bye
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/c-programming/1724-freerte_v1-editor-work-all-browser-but-i-cant-get-content.html
Posted By For Type Date
C# Programming [Archive] - DiscussWeb IT Community - Technical Support and Technology Discussions This thread Refback 02-22-2008 01:27 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create an HTML Editor for ASP.NET AJAX Sundaram C# Programming 13 09-05-2007 12:16 AM
If I ask you to write 'VI' editor in C++ - How you'll proceed? Sabari C and C++ Programming 0 07-23-2007 12:37 AM
Add and configure Application server in Eclipse (Plugin:Myeclipse) J2EE Editor kingmaker Java Programming 0 07-15-2007 10:54 PM
What Is Your Favorite HTML Editor? spid4r Web Design Help 0 03-08-2007 09:39 PM
which is the best html editor ? webmaster HTML, CSS and Javascript Coding Techniques 11 03-08-2007 11:40 AM


All times are GMT -7. The time now is 11:37 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0