July 31st, 2003, 02:27 PM
I'd like to be able to select some part of a text in a textarea and put some tags around it then, i could do it with match, but my prolem there is, that i could get the same text at a different place. If i would select only a 'e' for example.
I actually have no idea how to do this, is it even possible?
July 31st, 2003, 02:33 PM
You're wanting to perform some action on a specific word or letter, but only in certain cases?
The only way to be able to do that is if there was something specific about the case that would limit the results.
Can you be more specific?
July 31st, 2003, 02:36 PM
no, i'd like the use to be able to select any kind of text with his mouse and then click on a bold or whatever button.
Similar to this forum, but i want the tags to close around the selected text...
If it can be done, what i don't know...