Samuell
02-14-2008, 03:57 PM
Hi,
im actually not an js coder, so i spent a few hours to find script i need but looks like there are no such script
i currently use this stuff -
http://www.w3schools.com/php/php_ajax_database.asp
so what i need is to make that fields in the box go automatically from first to the last then first again and so on until i choose some field manually.
i tried things like this
function roller() {
for (i=0;i<3;i++) { setTimeout("roll(i)", 3000) }
}
function roll(i) { document.usersform.users[i].selected = "1" }
but it jumps to last field and do not show any of previuos fields. and its do not affect mysql select action so nothing is really happens.
so, is there are any chances to expand that script this way?
thanks in advance
im actually not an js coder, so i spent a few hours to find script i need but looks like there are no such script
i currently use this stuff -
http://www.w3schools.com/php/php_ajax_database.asp
so what i need is to make that fields in the box go automatically from first to the last then first again and so on until i choose some field manually.
i tried things like this
function roller() {
for (i=0;i<3;i++) { setTimeout("roll(i)", 3000) }
}
function roll(i) { document.usersform.users[i].selected = "1" }
but it jumps to last field and do not show any of previuos fields. and its do not affect mysql select action so nothing is really happens.
so, is there are any chances to expand that script this way?
thanks in advance