Jump to content

select text


Recommended Posts

iam working on simple word processing editor to add it to my web sitei want to use textarea so users can write their text and buttons that run javascript functions to add something like this

[b] text [/b]

so users can format the text .i know this is a BB code but i cannot find a free and easy bb editor to use it in my web siteso i decided to build my own editori need to know what functions let me handle the selected ( highlighted ) text by mouse in the textarea so i can know it's position and add for example in that position before the selected text

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...