vividona Posted July 6, 2009 Share Posted July 6, 2009 I mad function for set and replacing bbcode I need javascript code to insert html codes in textarea. e.g Quote Link to comment https://forums.phpfreaks.com/topic/164906-about-bbcode/ Share on other sites More sharing options...
Garethp Posted July 6, 2009 Share Posted July 6, 2009 document.getElementById('TextareaID').value = document.getElementById('TextareaID').value + Text ? Quote Link to comment https://forums.phpfreaks.com/topic/164906-about-bbcode/#findComment-869623 Share on other sites More sharing options...
Adam Posted July 6, 2009 Share Posted July 6, 2009 It's okay, but a little basic... Quick look on Google and I found: http://bmearns.net/wwk/view/Insert_text_into_textarea_with_Javascript Quote Link to comment https://forums.phpfreaks.com/topic/164906-about-bbcode/#findComment-869624 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.