Hi, everybody!
I'm trying to make this script - http://www.w3schools.com/php/php_ajax_database.asp
roll it's fields from the first to the last automatically
the code i have at the moment
do not work an couse an error.
please, how make this work?
I'm trying to make this script - http://www.w3schools.com/php/php_ajax_database.asp
roll it's fields from the first to the last automatically
the code i have at the moment
Code:
function roller() {
var total=3;//number of options
for (var i=0;i<total;i++) {
setTimeout("roll("+i+")", (3000*(i+1)));
}
setTimeout("roller()", (3000*total));
}
function roll(i) {
document.usersform.users[i].fireEvent("onchange")
}
please, how make this work?
Comment