billbody
12-09-2002, 07:13 PM
Hi there how do I put in a form ( php ) a java script that include tags?
Like the ones in this forum ...
T.I.A.
Like the ones in this forum ...
T.I.A.
|
Click to See Complete Forum and Search --> : How do I .... ? help need!!! billbody 12-09-2002, 07:13 PM Hi there how do I put in a form ( php ) a java script that include tags? Like the ones in this forum ... T.I.A. billbody 12-09-2002, 09:40 PM ok something like this a form made on php that write to a txt this form have 2 text areas, 1 for title 1 for main text I have set it up so it parse html tags if i put by hand for ex <b > </b > i got a bold etc etc etc I want to make a menu so this tags are more easy to insert For ex. menu: bold underline link if you click on bold it promp a window to put a text and it will then insert that text into the text area with the open and close bold tags EX 2 menu: B I U ..... CLOSE CURRENT TAG do you follow me now? see iu around billbody 12-09-2002, 10:18 PM ok DAVE and how do i use those on my form? T.I.A billbody 12-10-2002, 08:36 AM Ok dave but I still can figure it out How dos the js write on the Text area of the form? Thanks billbody 12-11-2002, 09:28 AM so on: <FORM METHOD="POST" "<? echo $PHP_SELF; ?>"> <CENTER> <TABLE> <TR> <TD align=right><font color="#acd340">:TITULO:</font></TD> <TD><input type="text" name="titulo" size="10" maxlength="30"></TD> </TR> <TR> <TD align=right><font color="#adc340">:TEXTO:</font></TD> <TD><TEXTAREA cols="50" name="texto" rows="20"></TEXTAREA></TD> </TR> </TABLE></CENTER> <P align="center"> <input type=submit value ="Submit" name="insert"> <input type=reset value ="Reset"> </P> </FORM> </BODY> </HTML> how is the correct spell of document.formName.fieldName.value += "string"; ??? T.I.A webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |