locked
Timer

    Question

  • hello, i just want develop a timer with a button start and when the time is out the timer reset to beginning time can i use some class in winjs thank for your help

    asp france

    Saturday, February 8, 2014 3:07 PM

Answers

  • Hi kaddev,

    Basically working with JavaScript is fine.

    Take a look at Timer in JavaScript: http://www.w3schools.com/js/js_timing.asp

    window.setInterval("javascript function",milliseconds);

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, February 10, 2014 8:57 AM
    Moderator

All replies

  • Hi kaddev,

    Basically working with JavaScript is fine.

    Take a look at Timer in JavaScript: http://www.w3schools.com/js/js_timing.asp

    window.setInterval("javascript function",milliseconds);

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, February 10, 2014 8:57 AM
    Moderator
  • Thanks it was very helpful ^^


    asp france

    Tuesday, February 11, 2014 2:12 AM