Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
06-05-2012, 12:29 PM #1
- Join Date
- Sep 2011
- Thanked 0 Times in 0 Posts
Change some words color in textarea
Ok, I am making a basic text editor in JQuery...where there is a textarea to people to write their codes. I want to make a syntax highlighting feature, my own one, without the use of plugins.
Well, how can I make some words which are being typed in the textarea in different colors? Hmmm, I can put some words in an array, then, when the user will type some words in this array in the textarea, these words will be in another color... Can you help me?