title: jQuery Trigger not firing without alert()
body: <p>Here is my code:</p>
  <pre><code>&lt;script type=&quot;text/javascript&quot;&gt;
  var verifyRefineSearchString = function(element) {
      jQuery('#refine-search-submit').trigger(&quot;filter.selection&quot;, {FilterType:&quot;Type&quot;, FilterValue:&quot;Value&quot;}) ;
      alert();
      element.value = jQuery.trim(element.value);
      if (element.value.length &lt;= 0) {
          alert('Please enter a search term.');
          return false;
      }
      return true;
  };
  &lt;/script&gt;
  </code></pre>
  <p>It fires a trigger if there is an alert.
  If I remove the <code>alert()</code> it does not fire a trigger.</p>