title: Using wildcards in keyup function
body: <p>I'm trying to get keyup to work with wildcards so it can match similar URL's as opposed to exact URLs but * ain't working, what am I doing wrong ?</p>
  <pre><code>&lt;script&gt;
  $(document).ready(function () {
      $(&quot;#fname&quot;).keyup(function () {
          if(this.value == &quot;*.drive.google.com/*&quot;){
              $('#input').css(&quot;display&quot;, &quot;block&quot;);
          }else{
              $('#input').css(&quot;display&quot;, &quot;none&quot;);
          }
      });
  });
  &lt;/script&gt;
  </code></pre>
  <p>Any help is great thanks.</p>