[Solved] Can javascript click a div?


using jquery . use $(window).load(); function which attach all event after body load all content in web page . see below code : here you can read document of load();

working example on fiddle

 <div id="yourDivId"></div>    

  $(window).load(function () {
    $(document).on('click',"#yourDivId",function () {
         // Some code here
     });
 }); 

0

solved Can javascript click a div?