Log In · Register

 
 
Closed TopicStart new topic
Comment box code in textarea?, How do I put a comment box code in a text area?
Maccabee
post May 3 2008, 12:02 AM
Post #1


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



Ok how do i get a Comment box code in textarea?

Heres is the code:

<textarea style="width:80px;">

<form method="post" action="http://comments.myspace.com/index.cfm?fuseaction=user.ConfirmComment">
<input name="friendID" value="XXXXXX" type="hidden">
<textarea name="f_comments" class="box">Comment me!</textarea><br />
<input type="submit"class="button" value="Send"></form>

</textarea>

But because there is a textarea in the code in the textarea it is messing it up?

The only way i can think of fixing this is using a small div section instead of textarea and then using the < xmp > tag before the code?

Sound right?
 
Maccabee
post May 3 2008, 09:20 AM
Post #2


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



QUOTE(doublehelix @ May 3 2008, 12:03 AM) *
Change the < to %lt; and > to &gt; only within the comment box code though.



May I ask why? is %lt; = < and &gt; =>

I think I get it???
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: