title: How can give CSS for Javascript Error Message
body: <p>Here is the <strong><a href="http://jsfiddle.net/JHHTw/" rel="nofollow">Demo</a></strong></p>
  
  <p>I am working in <strong>Javascript</strong> Validation. I want to give Separate colour for the text 
  <strong>" Please enter Valid Email ID "</strong></p>
  
  <p>When User Enter a <code>wrong email id</code> and press, there is one Error message will come. I want give red colour for this Error message. Only for this Error message i need red colour</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;label id="message"&gt;We don't Spam. Promise&lt;/label&gt; &lt;br /&gt;
  &lt;input autocomplete="on" type="text"  name="booking_email" onkeyup="validate()"   id="SignupText" class="InputSignup" placeholder="Enter Your Email" /&gt; 
  &lt;input type="submit" value="submit" class="subButton"  onclick="submitEmail();"/&gt;
  </code></pre>
  
  <p><strong>JAVASCRIPT</strong></p>
  
  <pre><code>function validate()
  {
  var booking_email = $('input[name=booking_email]').val();
  
  if(booking_email == '' ){
    document.getElementById("message").innerHTML="We don't Spam. Promise";
  }else if( /(.+)@(.+){1,}\.(.+){2,}/.test(booking_email) )
  {
    document.getElementById("message").innerHTML="Your email is valid"
    if(event.which == 13){
      submitEmail();
    }
  } else {
    document.getElementById("message").innerHTML="Type your email id";
  
    if(event.which == 13){
      submitEmail();
    }
  }
  }
  function submitEmail()
  {
  var booking_email = $('input[name=booking_email]').val();
  if(booking_email=="")
  {
  
  document.getElementById("message").innerHTML="Please enter Your Email ID"
  }
  else if( /(.+)@(.+){1,}\.(.+){2,}/.test(booking_email) )
  
  {
  alert('success');
  
  }
  
  else {document.getElementById("message").innerHTML="Please enter Valid Email ID";}
  
  
  }
  </code></pre>