march Posted June 9, 2006 Report Share 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 Link to comment Share on other sites More sharing options...
[Ya] Posted June 9, 2006 Report Share Posted June 9, 2006 setTimeout("1000","sndReq("+action+")"); ieliec tanī kur nosuuta req .... lai action nepazuud. .. Link to comment Share on other sites More sharing options...
march Posted June 9, 2006 Author Report Share Posted June 9, 2006 (edited) Gadījumā vispirms nav jāliek funkcija, un tikai tad laiks? Edited June 9, 2006 by march Link to comment Share on other sites More sharing options...
[Ya] Posted June 9, 2006 Report Share Posted June 9, 2006 varbūt arī, parasti aizmirstu šitam ........ Link to comment Share on other sites More sharing options...
ok1 Posted June 26, 2006 Report Share Posted June 26, 2006 Vispār ir : set Interval("sendReq(+action+)", 1000); //reizi sekundee nostraadaa sendReq Link to comment Share on other sites More sharing options...
Recommended Posts