Posted By

imeiva on 10/05/10


Tagged

js


Versions (?)

simulate click


 / Published in: JavaScript
 

for roba

  1. <script type="text/javascript">
  2. (function() {
  3.  
  4.  
  5. function clicksimulate(){
  6. var mybtn=document.getElementById('btnUpdatePassword');
  7. mybtn.click();
  8. }
  9.  
  10. if (window.attachEvent) {
  11. window.attachEvent('onload', clicksimulate);
  12. }else{
  13. window.addEventListener('load', clicksimulate, false)
  14. }
  15.  
  16. })();
  17. </script>

Report this snippet  

You need to login to post a comment.