Sending to a textarea

admin

Administrator
Staff member
I want to send text from a form to a textarea. i've tryed for a few days to get it but can't can anyone help. i'm makeing a css generator for school and i want to send this:

document.write("BODY {<BR>BACKGROUND COLOR: "+ frmCSS.bgcol.value +"; <BR> BACKGROUND-IMAGE: "+ frmCSS.bgimg.value +";<BR> BACKGROUND-ATTACHMENT: fixed; <BR> COLOR: "+ frmCSS.txtcolor.value +";<BR> FONT-WEIGHT: "+ frmCSS.txtweight.value +";<BR>FONT-STYLE: "+ frmCSS.txtstyle.value +";<BR> FONT-FAMILY: "+ frmCSS.txtfont.value +"; <BR> TEXT-ALIGN: "+ frmCSS.txtalign.value +" } <BR><BR>H1 {<BR>COLOR: "+ frmCSS.h1color.value +"; <BR> FONT-WEIGHT: "+ frmCSS.h1weight.value +";<BR>FONT-STYLE: "+ frmCSS.h1style.value +";<BR> FONT-FAMILY: "+ frmCSS.h1font.value +"; <BR> TEXT-ALIGN: "+ frmCSS.h1align.value +" }<BR><BR>H2 {<BR>COLOR: "+ frmCSS.h2color.value +"; <BR> FONT-WEIGHT: "+ frmCSS.h2weight.value +";<BR>FONT-STYLE: "+ frmCSS.h2style.value +";<BR> FONT-FAMILY: "+ frmCSS.h2font.value +"; <BR> TEXT-ALIGN: "+ frmCSS.h2align.value +" }<BR><BR> A:LINK {<BR> COLOR: "+ frmCSS.ualinkcol.value +";<BR> FONT-FAMILY: "+ frmCSS.ualinkfont.value +"} <BR><BR> A:ACTIVE {<BR> COLOR: "+ frmCSS.alinkcol.value +";<BR> FONT-FAMILY: "+ frmCSS.alinkfont.value +"} <BR><BR> A:VISITED {<BR> COLOR: "+ frmCSS.vlinkcol.value +";<BR> FONT-FAMILY: "+ frmCSS.vlinkfont.value +"}")
 
Back
Top