call a function after a particular time period,


call a function regularly

call a function after a particular time period
 function getdata(){
 var langu = jQuery(".goog-te-combo").html('<option value="">Select Lanugage</option><option value="en">English</option><option value="ja">Japanese</option>');
 jQuery(".goog-te-gadget").css({"margin-top":"0px"});
 intervaltime();
 }
 </script>
 <script>
 function intervaltime(){
 window.setInterval(function(){
 getdata();
 }, 5000);
 }
 $(function() {
 setTimeout(getdata, 3000);
 });
 </script>

You may also like...

%d bloggers like this: