Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function randString()
- {
- var text = "";
- var possible = "abcdefghijklmnopqrstuvwxyz";
- for( var i=0; i < 15; i++ )
- text += possible.charAt(Math.floor(Math.random() * possible.length));
- return text;
- }
- document.getElementById("registration_email").value = randString() + "@" + randString() + ".com";
- document.getElementById("registration_username").value = randString();
- document.getElementById("registration_password").value = randString();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement