issue in calling ajax function with arguments in setTimeout function

by Nirmala 2009-01-05 11:27:26

Hi....
Call the ajax function using setTimeout function.
If the ajax function having arguments means call the function in the following manner otherwise the "undefined" error will occur.


setTimeout("testAjax('"+arg1+"','"+arg2+"')",1500);

Tagged in:

1762
like
1
dislike
0
mail
flag

You must LOGIN to add comments