I have 2 javascript function - f1, f2. Ii want to call f2 from f1 in every 2 seconds and i need to do this for 10 minutes.
function f1()
{
//call f1 in every 2 seconds- for 10 minutes
}
function f2(){
{
}
How can i implement this in javascript/jquery or how to use Settimeout, setInterval for the above scenario.