Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes Select some text from textarea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Select some text from textarea" Watch "Select some text from textarea" New topic
Author

Select some text from textarea

pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 316

Hello,

I need to select only some of the text entered in the textarea.
After selection, I'm making it bold or italics.

What I've written makes the entire text in the textarea bold or italic..

This is the selected lines of code for this particular problem :



Please advise.


Thanks,
Pramod
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

JavaScript Rich Text Editors


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Select some text from textarea
 
Similar Threads
document.forms[0].submit(); throws Invalid Argument in IE
disabling hold button
Table and Javascript
What happen to this Tabbed form ?
Access Data from Database By Submitting The select Values