WE CAN GET PICTURES FROM SERVER-SIDE AND DISPLAY THEM IN BROWSER PAGE AUTOMATICALLY WITH SET TIME INTERVAL. HOW?
----------
It is about simple javascript timer effect to the above program.
So, I modified the code as ,
function job1()
{
if(n==7) { n=1};
n=1;
if(n==1){ s="alice" }
if(n==2) { s="clinton"}
if(n==3){ s="cindy"}
if(n==4){ s="colin"}
if(n==5){ s="nathan"}
if(n==6){ s="mathew"}
setTimeout("job4()",1000)
}
function job4()
{
$.get("imagesender.jsp",{'combo1':s},function(r)
{
$("#img1") . attr({ src : r }); // jQuery syntax!
});
n=n+1
job1();
}