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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -