The JavaScript function presented in this page can be used to add HTML, or BBCode Tag, to selected text in textarea. The