jquery - Why does this SetInterval code work for making Ajax requests? -


i have code:

setinterval(sendajax('search', 'q'), 100 * 10); 

which thought work execute function sendajax(param,param) every 1 second.

however, not case. executed function once.

does know why occurs , solutions?

regards, taylor

i think have following:

setinterval("sendajax('search', 'q')", 100 * 10); 

Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -