var aArray = new Array(); var iYourNumber = 123; var sStringValue = iYourNumber.toString(); for(i=0; i<sStringValue.length; i++){ aArray[i] = sStringValue[i]; alert(aArray[i]); };