I have a simple JavaScript setTimeout
function, but it is refusing to work
setTimeout(timeup(tc,chosen),10000)
... and this is the function:
timeup = function (clt,clo)
{
alert("time up")
}
... and the time up alert shows up immediately instead of after 10 seconds can someone tell me why this is happening please?