function randomAlphanumeric(n) {
	var id = '';
    var domain = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";

    for (var i=0; i < n; i++)
        id += domain.charAt(Math.floor(Math.random() * domain.length));

    return id;
}
//generates a random alphanumeric string of 'n' length
generates a random alphanumeric string of 'n' length
generates a random alphanumeric string of ' n ' length
function randomAlphanumeric(n) {
	var id = '';
    var domain = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
    for (var i=0; i < n; i++)
        id += domain.charAt(Math.floor(Math.random() * domain.length));
    return id;
}
function randomAlphanumeric ( n ) { var id = '' ; var domain = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" ; for ( var i = 0 ; i < n ; i ++ ) id += domain . charAt ( Math . floor ( Math . random ( ) * domain . length ) ) ; return id ; }
generates a random alphanumeric string of 'n' length
generates a random alphanumeric string of ' n ' length