march Posted June 9, 2006 Report Posted June 9, 2006 (edited) Izmantoju šādu ajax kodu ( http://paste.php.lv/3882 ). Kā lai izveido, lai divs ik 5 sekundes refreshotos? Mēģināju ar settimeout, bet nezinu īsti kuru funkciju lai liek tajā settimeoutā. Edited June 9, 2006 by march
[Ya] Posted June 9, 2006 Report Posted June 9, 2006 setTimeout("1000","sndReq("+action+")"); ieliec tanī kur nosuuta req .... lai action nepazuud. ..
march Posted June 9, 2006 Author Report Posted June 9, 2006 (edited) Gadījumā vispirms nav jāliek funkcija, un tikai tad laiks? Edited June 9, 2006 by march
ok1 Posted June 26, 2006 Report Posted June 26, 2006 Vispār ir : set Interval("sendReq(+action+)", 1000); //reizi sekundee nostraadaa sendReq
Recommended Posts