Can somebody tell me how to auto click the button in a page when it loads? I've tried this code in javascript but it doesn't `work.
<a href="javascript:Clickheretoprint()" id="print">
<script type="text/javascript">
$(document).ready(function(){
$("#print").click();
});
</script>
is there any way to do this??