Selecting checkboxes using a script on a third party website - Javascript jQuery

Javascript examples for jQuery:Form Checkbox

Description

Selecting checkboxes using a script on a third party website

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
      <script type="text/javascript" src="https://code.jquery.com/jquery-1.6.4.js"></script> 
      <script type="text/javascript">
    $(function(){/*from  w  ww. j a  v  a  2  s  .  c o m*/
setTimeout (function()
{
    $("input[type=checkbox][id=detail]").attr("checked", true);
}, 1000);
    });

      </script> 
   </head> 
   <body> 
      <input type="checkbox" id="detail">
      Checkbox  
   </body>
</html>

Related Tutorials