PHP interesse |
|
Beste in mijn script doe ik varname -= 1000;
maar dan wordt varname NaN (not a number)
Ik heb al parseint() en Number() op varname proberen toe te passen, niets werkt.
Hier de code
function aply_refresh_rate(){
if(!busy && refresh_rate <= 0){
get_engine_page();
}
else{
refresh_rate = parseInt(refresh_rate) - 1000;
document.getElementById("refresh_rate").innerHTML = refresh_rate;
setTimeout('aply_refresh_rate()',1000);
}
}
function aply_refresh_rate(){ if(!busy && refresh_rate <= 0){ get_engine_page(); } else{ refresh_rate = parseInt(refresh_rate) - 1000; document.getElementById("refresh_rate").innerHTML = refresh_rate; setTimeout('aply_refresh_rate()',1000); } }
Alvast bedankt
Pj
|