Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register

Go Back   WebForumz.com > Blogs
Register All Albums Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

Old

Random String in Javascript

Posted April 21st, 2008 at 09:18 AM 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
Most Reputable Member
Posted in Uncategorized
Comments 1 spinal007 is offline

Search Engine Optimization by vBSEO 3.2.0 RC8