Are you using a plugin or are you trying to do oit by yourself? In case you are doing it by yourself this thread might help: http://groups.google.com/group/jquery-en/browse_thread/thread/6902e3e091ec9e4b/f8a135f66d533265#f8a135f66d533265 Works both with selected text and no selection (cursor).
On Feb 25, 6:28 am, anjith <anjithkumar.garap...@gmail.com> wrote: > Hi, > > I am trying richtext editor the problem is on every button click (Like > Bold or Code) how to send the tags([b][/b] or [code][/code]) to the > last mouse or courser point in the textarea.... > > Thanks and regards, > Anjith