09-30-2008, 01:10 PM
|
#4 (permalink)
|
|
The Contributor
Join Date: Sep 2008
Location: Miami
Posts: 39
Thanks: 7
|
what about if its a php form like below and the input field is $_POST['comment']
Code:
<hr><br>Post a comment<br>
<form method=\"post\" action=\"members.php?id=$user[username]&comments=post\">
<div style=\"background-color:grey\"><input type=\"button\" value=\"i\"><input name=\"underline\" onclick=\"var element=document.getElementsByName('underline')[0];
element.onclick(function(){
document.getElementsByName('$comment_box')[0].innerHTML+='<u> </u>';
});\"type=\"button\" value=\"u\"><input type=\"button\" value=\"b\" ><input type=\"button\" value=\"img\"><a href=\"#\" onclick=\"smilie(':)'); return false;\" value=\"link\">Link</a></div>
<textarea id=\"comment\" name=\"comment\" cols='47' rows='10'></textarea></br>
<input style=\"align:right\" type=\"submit\" value=\"Post\" name=\"reply\">
|
|
|