www.webdeveloper.com

Search:

Type: Posts; User: stormcrow

Search: Search took 0.01 seconds.

  1. Need to allow user to input time in hh:mm:ss

    I am making a download calculator. For calculating the transfer rate the user needs to enter how long the transfer took to finish, e.g. 00:05:13 (5 minutes and 13 seconds). I do not see any...
  2. Replies
    1
    Views
    907

    regex {x,y} not working as I expected

    {x,y} Matches x to y number of occurrences of a regular expression. e.g. /\d{2,4}/ matches at least 2 but no more than 4 digits.




    var re = /\d{2,4}/;
    document.write(re.test('12345'));

    ...
Results 1 to 2 of 2
HTML5 Development Center



Recent Articles