What is the difference between settimeout() and setinterval() methods?



What is the difference between settimeout() and setinterval() methods?..

Answer / Siddharth

setTimeout() executes code once after the specified number of milliseconds, while setInterval() executes code repeatedly at a specified interval.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

Is vanilla js faster than jquery?

1 Answers  


Please explain remove class jquery with example?

1 Answers  


What are the various ajax functions?

1 Answers  


How to get the direct parent of an element using ?

1 Answers  


What is the script build up by jQuery?

1 Answers  


Define the types of selectors in jquery?

1 Answers  


How JavaScript and jQuery are different?

1 Answers  


What is the use of val() method in jquery?

1 Answers  


How to divide a page into parts using jquery mobile? : jquery mobile

1 Answers  


What is the advantage of using minimized version of jQuery?

1 Answers  


Explain the script build up by jquery?

1 Answers  


Explain deferred and promise object in jquery? : jquery mobile

1 Answers  


Categories