Posted By

nicktheandroid on 10/19/10


Tagged

jquery click trigger


Versions (?)

Trigger a .Click on an $('#element')


 / Published in: jQuery
 

URL: http://api.jquery.com/click/

Trigger a .Click when you hover over an $(\'#element\')

  1. $('#other').click(function() {
  2. $('#target').click();
  3. });
  4.  
  5. OR
  6.  
  7. $('.something').hover(function() {
  8. $('#element').trigger('click')
  9. });

Report this snippet  

You need to login to post a comment.