|Perl Monk, Perl Meditation|
Re: COLOR of textareaby liverpole (Monsignor)
|on Nov 14, 2011 at 18:10 UTC||Need Help??|
As other have noted, this hasn't anything to do with perl.
But since you're pretty close, try doing this:
Note that it passes "this" to the function select_color, so that the value will change with the color. The id of the text_area object is then looked up, and its style.background is assigned to the current color.