Hi,

This code work well in PHP but it's not applying to javascript. How can I get it worked?
Code:
default_image = document.getElementById(default_image');
for(i = 1; i <= 5; i++){
	default_img = "images/default_image.png";
	default_image.src = default_img;
}
The HTML:
Code:
<img id='default_image' src='' />