function time param alert start send intervalID setInterval send param

1
2
3
4
5
function time(param){
alert ('start');
send();
intervalID = setInterval('send(param)', 1000*($('#cycle').val()));
}