1
0
-1

i can't run "set time out java script" in custom html

setTimeout(function() {
    console.log('SetTimeout dipanggil setelah 2 detik!');
    console.log('Popup ID:', popupId); // Periksa apakah popupId valid
}, 2000);

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      works for me though...ensure its encapsulated in <script> tag and the popupId is defined...else you get the following...

        CommentAdd your comment...