hello.. i just want to ask if how to convert the number to String.. what i want to output is "000000" incremented per second "0000001".. i tried different methods but it will output to 1,2,3... i tried this but still won't work..
$(document).ready(function(){
xx();
var x = 0;
function xx()
{
x++;
if(x.length==5) {
x = "00000" + convert.toString(x);
}
$("div.sss").text(x);
setTimeout(xx,1000);
}
});