$(function(){ var make="ad"; var kaka="mon"; function show(a,b){ alert(a+"-"+b); } setInterval(function(){ show( make,kaka ); },3000);})