title: change HTML button value color where value is from onclick calling Javascript
body: <p>I use the simple button as</p>
  
  <pre><code>&lt;input type="button" value="Search" onclick="ajaxsubmit(this.form)" /&gt;
  </code></pre>
  
  <p>where function <code>ajaxsubmit()</code> looks like</p>
  
  <pre><code>function ajaxsubmit(f) {
  $('#sendreq').attr("disabled", true);
  $('#sendreq').val("Sending Request");
  </code></pre>
  
  <p>I want to style button onclick value (Sending Request) to change its color to red but the color of the initial button value (search) should not change</p>