Posted By

Tamedo on 03/26/08


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

SpinZ
osdesk


BBCODE CLICKABLES


 / Published in: JavaScript
 

URL: http://www.pixel2life.com/forums/index.php?showtopic=32138

  1. <form method='post' name='addcomment'>
  2.  
  3. Comment:
  4.  
  5. <input type=\"button\" onClick=\"document.addcomment.comment.value+='[b][/b]'\" value=\"Bold\" name=\"bold\" title=\"Add Bold\" >
  6. <input type=\"button\" onClick=\"document.addcomment.comment.value+='[i][/i]'\" value=\"Italic\" name=\"italic\" title=\"Add Italic\" >
  7. <input type=\"button\" onClick=\"document.addcomment.comment.value+='[php][/php]'\" value=\"PHP Code\" name=\"php\" title=\"Add PHP Code\" >
  8. <input type=\"button\" onClick=\"document.addcomment.comment.value+='[url=http://linkhere.com]Link text[/url]'\" value=\"URL\" name=\"url\" title=\"Add Hyperlink\" >
  9.  
  10. <textarea rows='5' cols='35' name='comment'></textarea>
  11.  
  12. <input type='submit' name='add_comment' value='Submit'>
  13. </form>

Report this snippet  

You need to login to post a comment.