title: wordpress a tag onClick issues
body: <p>im having some troubles integrating my home-brewed slideshow jQuery script into wordpress.</p>
  
  <p>so far i have learned the hard way that you must integrate scripts using wp_enqueue_script, but now i encounter that my onclick on a tag fon run my functions, functions i use to change slide etc. etc.</p>
  
  <p>in my home-brewed slideshow script i have wrapped all my jQuery code into a wrapper</p>
  
  <pre><code>(function($) { // OPEN WRAPPER
    // SCRIPTS
  })(jQuery); // CLOSE WRAPPER
  </code></pre>
  
  <p>to explain my problem better here is some theoretical dummy code:</p>
  
  <p>jQuery slide script:</p>
  
  <pre><code>(function($) { // OPEN WRAPPER
  
  $(window).load(function() {
  // INIT my slideshow
  });
  
  function callJsFunction(num){
  alert("function executed perfectly"+num);
  };
  
  })(jQuery); // CLOSE WRAPPER
  </code></pre>
  
  <p>Html file:</p>
  
  <pre><code>...
  &lt;a href="#" onclick="callJsFunction(3); return false"&gt; CLICK ME &lt;/a&gt;
  ...
  </code></pre>
  
  <p>No matter what i try in Wordpress 3.7.x the bloody function wont run, any idea to why this is not working ?, i've googled for ages but did not find an answer, any articles about newbie's-home-brewing for jQuery to WP would also be appreciated :D</p>