DotNetGnat
Programmer
Guys,
If i have something like this:
e1=document.CreateElement("textarea")
e1.setAttribute("id","txtarea1")
e1.setAttribute("rows","5")
e1.setAttribute("cols","15")
e1.setAttribute("style","background-color: red")
or
e1.setStyle("background-color","red")
why does not the bold code work similar to the other attributes...how can i set the background color to my textarea field...
-DNG
If i have something like this:
e1=document.CreateElement("textarea")
e1.setAttribute("id","txtarea1")
e1.setAttribute("rows","5")
e1.setAttribute("cols","15")
e1.setAttribute("style","background-color: red")
or
e1.setStyle("background-color","red")
why does not the bold code work similar to the other attributes...how can i set the background color to my textarea field...
-DNG