I\'d like to make a click event fire on an tag programmatically.
Just calling click() doesn\'t seem to do anything or at lea
I had a tag hidden from view. What I did was attaching the
"onClick"
event to any visible component of any type such as a label. This was done using either Google Chrome's Developer Tools or Mozilla Firefox's Firebug using the right-click "edit HTML" command. In this event specify the following script or something similar:
If you have JQuery:
$('#id_of_component').click();
if not:
document.getElementById('id_of_component').click();
Thanks.