title: onFocus .css and onblur .css
body: <p>My HTML has a placeholder like such:</p>
  
  <pre><code>&lt;input id="additionalsearch" type="text" value="Search Within" onfocus="if (this.value=='Search Within')this.value='';" onblur="if (this.value=='')this.value='Search Within';"&gt;
  </code></pre>
  
  <p>It wasn't my choice and I can't really remove it... but I was wondering how I can set the CSS too... I want to do something like <code>onfocus="if (this.value=='Search Within')this.value=''; $(this).css('color','000000');"</code> and <code>onblur="if (this.value=='')this.value='Search Within';$(this).css('color', 'A9A9A9');"</code>. How can I accomplish that?</p>
  
  <p>Thanks</p>