I'm developing my own forum software, and i am now doing the editor. Well i want to make some tags ofc, like [b] and [i].
How can i do that? Well, i found this thread: Insert text into textarea with jQuery
and used this:
$('a').click(function() //this will apply to all anchor tags
{
$('#area').val($('#area').val()+'[b][/b]');
})
But i also want to point just right between the tags, between the [b] and the [/b], how can i do that?