title: Check First Char In String
body: <p>I have input-box. I'm looking for a way to fire-up <code>alert()</code> if first character of given string is equal to '/'...</p>
  
  <pre><code>var scream = $( '#screameria input' ).val();
  
  if ( scream.charAt( 0 ) == '/' ) {
  
    alert( 'Boom!' );
  
  }
  </code></pre>
  
  <p>It's my code at the moment. It doesn't work and I think that it's because that browser doesn't know when to check that string... I need that alert whenever user inputs '/' as first character.</p>