I have a href link and I would like it to be clicked when the page is loaded.
href
$(document).ready(function() { $('#someLinkId').click(); });
Or
$(document).ready(function() { $('#someLinkId').trigger("click"); });
1.4m articles
1.4m replys
5 comments
57.0k users