Search

Display results as :

Top posting users this month

GeoMap

How to generate a random string/id with javascript!

How to generate a random string/id with javascript!

It is quite simple:
Code:
Math.random().toString(36).substr(2);
And the param of toString controls the alphabet used by the outcoming string.

halala

Permissions in this forum:
You cannot reply to topics in this forum