Return to Snippet

Revision: 34219
at October 19, 2010 13:59 by nicktheandroid


Updated Code
$('#other').click(function() {
  $('#target').click();
});

OR

$('.something').hover(function() {
    $('#element').trigger('click')
});

Revision: 34218
at October 19, 2010 13:57 by nicktheandroid


Initial Code
$('.something').hover(function() {
    $('#element').trigger('click')
});

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

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

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

Initial Tags
jquery

Initial Language
jQuery