title: How to emulate click event with jQuery?
body: <p>i have simple code:</p>
  
  <pre><code>jQuery(document).ready(function(){
      url = document.location.href.split('#');
  
      if(url[1] === 'button-show-modal'){
          console.log('true');
          jQuery('#button-show-modal').click();
      }
  )
  </code></pre>
  
  <p>So when page is loaded i see in console true, but no modal appears... If i run <code>jQuery('#button-show-modal').click();</code> by myself modal appears as it should so generally <code>click</code> event doesn't appear. Where could be the problem?</p>