I am trying to add a comment area & Added comments below or above that, using coding from vbulletin.
I can get the text area to show, but can't submit a comment to show on same page.
Below is the code I am using.
Will someone point me in the right direction to get this to work?
Code:
<table class="tborder" cellpadding="5" cellspacing="0" border="0" width="100%">
<tr>
<td valign="top" class="thead">
Write Comment:
</td>
</tr>
<tr>
<td class="alt1">
<div align="center"><form action="javascript:get(document.getElementById('myform'));" name="myform" id="myform">
<textarea rows="3" cols="50" id="mytextarea1"></textarea>
<br> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="button" name="button" value="Submit your Comment" onclick="javascript:get(this.parentNode);">
<input type="reset" value="Delete">
</form>
</div>
</td>
</tr>
</table>