|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: COLOR of textareaby liverpole (Monsignor) |
| on Nov 14, 2011 at 18:10 UTC ( #937998=note: print w/ replies, xml ) | Need Help?? |
|
Hi tarunkhanna, 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. s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||