...

View Full Version : Javascript auto click on pageload.



abdulmoiz
09-13-2011, 02:57 PM
Hi, i need a javascript for my website.

what i wanna do is that when smone loads my website, the script initiate the left mouse click automatically. that is on page load mouse click is stimulated.

dnt know if its possible or not. need help.
Thanx in advance:D

M.Jackson
09-13-2011, 07:44 PM
No idea why you would want to do this, but...


document.getElementById(”whatever”).click();

... should do the trick.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum