i am having a text area for users to write their posts in then save their posts inside a database, i would like to offer some little formatting like line breaks, bold , or italic fonts. is there any way using jquery or php to do this? i need the same exact idea of the editor that stackoverflow is using. any help?
here is my code for the textarea :-
<p>Message : </p><textarea cols="100" rows="10" name="message"></textarea>
also, is it better to use an editable div
than a textarea
?