Change the color of the "default" value of an input
<p>I have this code -></p>

<pre><code>var searchexampletxt = '&lt;?php echo JText::_('SEARCH_EXAMPLE'); ?&gt;';
Window.onDomReady(function(){

$('BLA_BLA').addEvent('focus',function(){
    if(this.value=='&lt;?php echo JText::_('SEARCH_EXAMPLE');?&gt;')
    {
    this.value="";
        }
    });

$('BLA_BLA').addEvent('blur',function(){
    if(this.value=='')
    {
    this.value="&lt;?php echo JText::_('SEARCH_EXAMPLE');?&gt;";
        }
    }); 

});
</code></pre>

<p>Can somebody help me please, how can I make the "SEARCH_EXAMPLE" text (that is by default shown in inputbox) be for example color #CCCCCC, but the text that I'm writing in the inputbox be for example #333333 ??</p>

<p>Thank you
Cheers</p>
