mardi 18 novembre 2014

How to keep a delay of 2 seconds in a js function ??


Vote count:

0




I have a function shown below



function finalcall()
{
var vendor_brand_id = $('#BrandNames').val();
$("#textandsavediv").hide();
showT1(vendor_brand_id, '');
}


I need to keep a delay of two seconds in my functiion


Please let me know how to keep a dealy of 2 seconds ??


I know of sleep but it slows down the entire page ??



asked 1 min ago







How to keep a delay of 2 seconds in a js function ??

Aucun commentaire:

Enregistrer un commentaire