JS setTimeout Not Delayed : <p>I'm trying to put a delay in <strong>front</strong> of an <code>AJAX</code> call. </p>

<pre><code>var delay = 2000;

$("#c_name").on("keyup", function() {
  var entered = $(this).val();
  if (entered.length &gt; 1) { 
    setTimeout(dosearch(entered), delay) 
    }
  });
</code></pre>

<p>Fo some reason I can't seem to get <code>setTimeout</code> to take hold.  It's performing the <code>dosearch()</code> function instantly.  </p>

<p>How can I get this to delay properly?  Yes <code>JQuery 3.3.1</code> is loaded up top.  </p>
