Go Back   Webforumz.com > Blogs > spinal007

Notices


Old

Random String in Javascript

Posted Apr 21st, 2008 at 13:18 by spinal007
Code:
String((new Date()).getTime()).replace(/\D/gi,'')
That's the quick way to automatically generate a random text string in javascript - a new string every millisecond.

It's a shame that in a time of "Web 2.0" and advanced ajax-powered web interfaces we, developers, still have to deal with querky browser issues pretty much all the time - most of the in IE.

Sometimes IE caches responses in the HTTPRequest object when it shouldn't, so ajax developers frequently
...
spinal007's Avatar
Moderator
Posted in Uncategorized
Comments 1 spinal007 is offline

All times are GMT. The time now is 06:33.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43