You need to create an anonymous function so the actual function isn’t executed right away.
setInterval( function() { funca(10,3); }, 500 );
More Related Contents:
- How to pass parameter in url? pl. explain with example?
- Set a default parameter value for a JavaScript function
- Pass an extra argument to a callback function
- Calling a function every 60 seconds
- Javascript setInterval and `this` solution
- Execute the setInterval function without delay the first time
- Pass parameter to p:remoteCommand from JavaScript
- Stop setInterval
- Jquery/Ajax call with timer
- How can I pause setInterval() functions?
- Will setInterval drift?
- JavaScript setTimeout() won’t wait to Execute? [duplicate]
- In Javascript/jQuery what does (e) mean?
- How to pass parameters to a Script tag?
- How to make `setInterval` behave more in sync, or how to use `setTimeout` instead?
- How do I reset the setInterval timer?
- Why pass parameters to CSS and JavaScript link files like src=”../cnt.js?ver=4.0″?
- How to stop “setInterval” [duplicate]
- How to use setInterval function within for loop
- setInterval() behaviour with 0 milliseconds in JavaScript
- html “data-” attribute as javascript parameter
- Is setInterval CPU intensive?
- Will setInterval cause browsers to hang?
- How to setInterval for every 5 second render with React hook useEffect in React Native app?
- setInterval() only running function once
- Javascript setInterval not working
- Global variable is logged as undefined when passed as parameter to setTimeout callback function
- Passing parameters to a JQuery function
- How do I pass multiple attributes into an Angular.js attribute directive?
- Making a live clock in javascript