Forums

Textarea Problem in Body form

dwegner 15 Jul, 2009
I'm getting problems with the textarea closing tag of my form being interpreted by the CC form. Here's my body code:
<tr class="odd" id="fullrow{id}">
<td><table width="100%">
<tr style="height:30px;">
<td style="width:40px;" align="center"><a href="#" onclick="makePOSTRequest('/index.php?option=com_tweetpost&format=raw','id={id}&status='+document.getElementById('status{id}').value,'floatdiv','floatspan');" title="Post Tweet Right Now!"><IMG src="/images/stories/twitter_mini.gif" border="0"></a></td>
<td style="width:60px;text-align:center"><a href="{posturl}" target="_blank" title="The original URL from the feed">Orig. URL</a></td>


<td style="width:60px;text-align:center"><a href="{tinyurl}" target="_blank" title="The Tiny URL from Twit-O-Matic">Tiny Url</a></td><td>Characters Left: <input readonly="readonly" style="width:24px;text-align:center;border:none;background-color:#999999;color:#FFFF00;" type="text" id="count{id}" /></td><td>{date}</td>
<td style="text-align:right;"><a id="hide{id}" href="#" onclick="makePOSTRequest('/index.php?option=com_tweethide&format=raw','id={id}','','hide{id}');document.getElementById('fullrow{id}').style.display='none';" title="Click To Remove"><IMG id="hideimg{id}" border="0" src="/images/stories/delete.png"/></a>      <a id="approved{id}" href="#" onclick="makePOSTRequest('/index.php?option=com_toggleapproved&format=raw','isapproved='+document.getElementById('apimg{id}').src.indexOf('b0')+'&post_id={id}','','approved{id}');" title="Click To Change Approval Status"><IMG onload="textCounter(document.getElementById('status{id}'),document.getElementById('count{id}'),'140')" id="apimg{id}" border="0" src="/media/system/images/thumb{approved}.png"/></a></td></tr><tr>
<td colspan="6"><textarea onKeyDown="textCounter(this,document.getElementById('count{id}'),'140')" onKeyUp="textCounter(this,document.getElementById('count{id}'),'140')"
id="status{id}" name="status{id}" cols="80">{thereply}</textarea>
<input type="button" value="Save Changes"
onclick="makePOSTRequest('/index.php?option=com_tweetsave&format=raw','id={id}&status='+document.getElementById('status{id}').value,'floatdiv','floatspan');">
</td></tr>
</table>
</td></tr>
GreyHead 15 Jul, 2009
Hi dwegner,

Sorry, I've got no idea what the question is?

The Textarea tags look OK albeit hidden in a Javascript jungle.

Bob
This topic is locked and no more replies can be posted.