Double click Event calling

shwetataral
shwetataral Community Member Posts: 9
How to call double click event for a button though javascript in lectora.



please help mi

Comments

  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    document.getElementById('#image456').addEventListener('dblclick', function(){



    // put whatever you want to happen here... trivNextPage() or something...



    });



    replace #image456 with whatever Lectora element you want to react to double click
  • shwetataral
    shwetataral Community Member Posts: 9
    Thanks....