title: Toggle JavaScript OnClick function seconds after seconds
body: <p>On my submit button, I have <code>onclick="list_activity();</code> but how can I make the <code>list_activity();</code> function run about 2 seconds after the button is clicked instead of straight away?</p>
  
  <p>HTML code I'm using:</p>
  
  <pre><code>&lt;textarea name="blab_field" id="blab_field" style="width:98%;height:55px;" placeholder="What is on your mind?  - What are you doing right now? - Tag people with @username (username can be found on profiles)"&gt;&lt;/textarea&gt;
  
            &lt;input name="mem_id" id="mem_id" type="hidden" value="4" /&gt;
            &lt;input name="poster_id" id="poster_id" type="hidden" value="&lt;?php echo $logOptions_id; ?&gt;" /&gt;
            &lt;input type="hidden" name="type" id="type" value="a" /&gt;
            &lt;input type="hidden" name="device" id="device" value="Google Chrome : Windows 7" /&gt;
             &lt;input name="submit" type="submit" style="width:100%;" onClick="post_chat();" class="btn btn-info" value="Post Blab" /&gt;
  </code></pre>