How do I make a web browser fire a click to an #id element on the page?
Using the .click
in javascript, doesn't work, as although .click
is being called within a function, that function however is not executed upon a click (otherwise it would work).
Please help.
$('#gocircus').live('click', function() {
document.getElementById('something').click();
});