Menu
hello,
I’m trying to make this kind of string (without quotes):
“c00″,”c01”, etc…
yet when I use this code:
[CODE]for(i=0;i<8;i++){
a = toString(‘c’+parseInt(10+i));
b = toString(‘c’+parseInt(60+i));
document.images[a].src = “images/pawn_”+oclr+”.gif”;
document.images[b].src = “images/pawn_”+clr+”.gif”;
}
it doesn’t seem to work out as expected…
what’s wrong with my code?