simulating mouse click
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4158847/is-there-a-way-to-simulate-key-presses-or-a-click-with-javascript">Is there a way to simulate key presses or a click with javascript?</a>  </p>
</blockquote>



<p>I know it's an old and repeated question, but before replying "google it", read the question plz . </p>

<p>I'm trying to simulate some of user interactions with page in my chrome extension and one of them is mouse click. I can "click" on links with a proper href and move to that page (window.location etc ) but my problem is with anchors that load content via ajax, for example in facebook home page, if I want to trigger the "Top News" news feed button, in theory I should use : <code>$(".uiHeaderActions .fwn").click();</code> but it doesnt do anything ... and idea ?</p>
