Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
function getRandom(length) { var rand = Math.floor(Math.pow(10, length-1) + Math.random() * 9 * Math.pow(10, length-1)); return rand; }