$("#quickcompose").parent().prepend('

Full BBCode List
'); function bold(){ $("#quickcompose").append("[b][/b]"); } function italic(){ $("#quickcompose").append("[i][/i]"); } function underline(){ $("#quickcompose").append("[u][/u]"); } function strike(){ $("#quickcompose").append("[s][/s]"); } function quote(){ $("#quickcompose").append("[quote][/quote]"); } function url(){ var Topicz = prompt("Enter the complete URL for the hyperlink","http://"); if(!Topicz){ alert("Please enter a complete URL"); return; } var Topicz2 = prompt("Enter the title of the webpage","My Webpage"); if(!Topicz2){ alert("Please enter a title"); return; } $("#quickcompose").append("\[url="+Topicz+"\]"+Topicz2+"\[/url\]"); } function image(){ var IMGz = prompt("Enter Image URL below:",""); if(!IMGz){ alert("You must enter an image URL!"); return; } $("#quickcompose").append("[img]"+IMGz+"[/img]"); } function email(){ var Emailz = prompt("Enter email address:",""); if(!Emailz){ alert("You must enter an email address!"); return; } $("#quickcompose").append("\[email\]"+Emailz+"\[/email\]"); } function list(){ $("#quickcompose").append("[list]\n[*][/list]"); } function big(){ $("#quickcompose").append("[big][/big]"); } function small(){ $("#quickcompose").append("[small][/small]"); } function Select(color){ $("#quickcompose").append("[color="+color+"][/color]"); }