473,549 Members | 2,982 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using javascript to create text editing in a textarea

Hi

I am wondering if anyone can help.

We have a form used by a client to add news to a database, however at
the moment the text edited is bog standard and the user can not bold
or color the text.

I have seen in email applications such as hotmail and yahoo, that when
you create a new email there is a menu above which when you highlight
the text in the textarea and click the appropriate button the text can
be made bold or italic or red or blue or whatever.

My question is how can i create such a menu so that my non-tech users
can manipulate the appearance of the text in the textarea at a click
of a button, before submitting it to the database?

Does anyone have any expale code and any useful links?

Thanks
Jul 23 '05 #1
2 1656
On 7 May 2004 02:53:01 -0700, Lindsey wrote:
My question is how can i create such a menu so that my non-tech users
can manipulate the appearance of the text in the textarea at a click
of a button, before submitting it to the database? Does anyone have any expale code and any useful links?


http://devedge.netscape.com/viewsource/2003/midas/01/

--
C'ya,
ZER0 :: coder.gfxer.web Designer();

Le donne si dividono in 4 categorie: le suore (non la danno a nessuno);
le puttane (la danno a tutti); le stronze (la danno a tutti tranne che
a te); le rompiballe (la danno a te e solo a te).
Jul 23 '05 #2
"ZER0" <ze********@lib ero.it> schrieb im Newsbeitrag
news:1h******** ********@ID-171124.news.ind ividual.net...
On 7 May 2004 02:53:01 -0700, Lindsey wrote:
My question is how can i create such a menu so that my non-tech users
can manipulate the appearance of the text in the textarea at a click
of a button, before submitting it to the database?

Does anyone have any expale code and any useful links?


http://devedge.netscape.com/viewsource/2003/midas/01/


Some links I got from a friend who teaches web programming:

htmlArea
http://www.interactivetools.com/products/htmlarea

skyWriter (Internet Explorer und Mozilla)
http://wysiwyg.skybuilders.com/

Cross-Browser Rich Text Editor by Kevin Roth
http://www.kevinroth.com/rte/demo.htm

WYSIWYG DHTML Editor
http://freshmeat.net/releases/128064/

Ekit (Java-Open-Source-WYSIWYG-Editor)
http://www.hexidec.com/ekitdemo.php

Epoz (für Zope)
http://www.zope.org/Members/mjablonski/Epoz

Informations on Midas
http://www.mozilla.org/editor/midas-spec.html

HTH
Markus
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2330
by: Krzysztof Fink-Finowicki via .NET 247 | last post by:
I have problem with TEXTAREA HTML tags in my Web application (MSIE 6.0). User fills-in content of TEXTAREA on HTML dialog window. After accepting, content of TEXTAREA from dialog window is copiedto TEXTAREA on main HTML window: wndTxtArea.value = dlgTxtArea.value; Then user may take the text for editing in HTML dialog windowonce more. ...
3
1698
by: M Wells | last post by:
Hi All, I'm wondering if anyone can point me to some JavaScript code I can drop into a page to respond to an attempt to click on specific links if content in textarea on a form has been changed but not submitted? In essence, if someone starts editing content in a textarea on the form, then clicks on one of several specific links, I'd like...
27
4690
by: Chris | last post by:
Hi, I have a form for uploading documents and inserting the data into a mysql db. I would like to validate the form. I have tried a couple of Javascript form validation functions, but it appears that the data goes straight to the processing page, rather than the javascript seeing if data is missing and popping up an alert. I thought it...
1
2863
by: bsprogs | last post by:
I am currnetly programming a file hosting website in PHP and I am slowly integrating AJAX into the website. Here is my problem: The user uploads the file. The server processes the file and stores a $_SESSION variable. After the upload is complete, the server supplies a link that allows the user to view their link codes. Once they click...
1
1151
by: sowmram | last post by:
Hi, I'm trying to create a site very similar to wiki, where you can edit, save.. Generally update data for the future use... This particular program I wanna do it using javascripts... Please help me out in getting into the solution for the same... Sample prg which I hve done is as below... Looking forward for all of your help...Thanks...
2
3136
by: shivendravikramsingh | last post by:
hi friends, i m using a ajax function for retrieving some values from a database table,and display the values in required field,my prob is that the ajax function i m using is working f9 once,but if i change something in php file using in ajax function.it not refreshed,means its shows the previous result it not get updated.i can't understand...
1
4587
by: javediq143 | last post by:
Hi All, This is my first post in this forum. I'm developing a CMS for my latest website. This CMS is also in PhP & MySQL. I'm done with the ADD section where the Admin can INSERT new records in Database but I'm stuck in the EDIT. I'm getting 2 problems over here. Below is the description: 1)The FIRST page will list all the records from the...
0
7518
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7446
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7956
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7469
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7808
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1935
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.