ready(function()

ready(function()

Please, how do? to read the variable?

  1. <!DOCTYPE html>
  2. <!--
     # test powershell
     cls
     # mercredi 28 février 2018 10:53:04
     $xtime =  ([System.Io.fileinfo]'c:\........html').LastWriteTime
     $xSec = (new-timespan -start "00:00:00" -end $xtime.AddHours(1)).TotalSeconds
     " " + [int]$xSec + " Sec."
     
     # 37910 sec
    -->
  3. <html>
  4. <head>
  5. <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <title>min-left-2</title>
  6. <style>
     p{color:red;}
    </style>
  7.     <script type="text/javascript" src="jquery-1.7.2.js"></script>
        <script type="text/javascript">
        $(document).ready(function(){
     $("#timer").countdown({until: +37910, format:'ms'});
    $("#timer").html(" " +timer + "' ");
    });
    </script>
  8. </head>
  9. <body>
  10. <p>var 1.=  <span id="timer"></span>  var 2.= usw ....</p>
  11. </body>
  12. </html>

Tank's for your help

@r

test-html-format