/Design customization /Tagboard/Form for adding new messages
Original textarea and submit code this:
Code
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="95%" rowspan="2">$FLD_MESSAGE$</td>
<td align="center" valign="top"><div style="font-size:10px;"></div></td>
</tr><tr><td align="center" valign="bottom">$SUBMIT$</td></tr></table><br>
Delete this code.
NEW code this:
Code
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td id="iras" width="95%" rowspan="2" onClick="this.select();">$FLD_MESSAGE$</td>
<td align="center" valign="top"><div style="font-size:10px;">$LENGTH_COUNTER$</div></td>
</tr><tr><td align="center" valign="bottom">
<div style="width:30px"><form id="mchatBtn"><input type="submit" value="Küldés" class="mchat" id="mchatBtn" style="width:60px;"></form><img alt="" style="display:none;" id="mchatAjax" src="http://s32.ucoz.net/img/fr/ajax3.gif" border="0" width="60"/></div></td></tr></table>
<script type="text/javascript">
$("#iras").keyup(function(event){
if(event.which == 13){
$("#mchatBtn").click();
}
// Make sure the form isn't submitted
event.preventDefault();
} <img src="/.s/sm/24/wink.gif" border="0" align="absmiddle" alt="wink" /> ;
</script>