title: Changing the color of the input value? jQuery
body: <p>I want to change the text color inside the input field. Color of those input words that are input by the users &amp; color the default color.</p>
  
  <p>Here's the jQuery Code:</p>
  
  <pre><code>var default_email_val = 'Enter Your E-Mail';
  
  $(document).ready(function(){
      $('input[type="email"]').attr('value', default_email_val).focus(function(){
          if($(this).val()==default_email_val){
              $(this).attr('value', '');
          }
      }).blur(function(){
          if($(this).val()== ''){
              $(this).attr('value', default_email_val);
          }
      });
  });
  </code></pre>
  
  <p><strong>I want to change the color, of the text field to grey when the page loads &amp; when the user input some words, I want to keep those words with a black color, Using CSS or any other method.</strong></p>
  
  <p>How can I do that?</p>