![]() The archive contains a directory (icos/) with images for buttons, a JavaScript and a PHP file for formating the text, and a "form.html" file that contains the form, and can also be used for test (if it's accessed from server). To download the script, click -> Script textarea with format text, and smiles. This form can be used, for example in PHP applications that retrieve the text added in textarea and save it into a database or file on the server. When the user clicks a button to format the text, the JavaScript code adds specified BBcode, or HTML tag, in the location where the cursor is in textarea, or arround the selected text (the smiles are added at the end of text). ![]() In this page is presented a simple JavaScript script with a form that contains a textarea with buttons to add BBcode, or HTML tags to format the text with Bold, Italic, Underline, and colors, also to add links, and Smiles.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |