[jQuery] Posting Repeating Ajax Requests

[jQuery] Posting Repeating Ajax Requests


Is there some like quering for repeating Ajax requests.
like i want to query a url via ajax every 2 seconds is there an option
natively in jquery for that
currently I am using setInterval('func()', 2000)
i just wanted to know if there is anything natively available.