Here is my code:
function addRcd2(timeOut){ for(var c=0; c less 5; c++){ var rcdi = \"rcd_\"+c+\"\"; setTimeout(function(){ $(\'.tbl1 tbody\').appen
function addRcd2(timeOut){ for(var c=0; c less 5; c++){ var rcdi = "rcd_"+c+""; setTimeout((function(x) { return function(){ $('.tbl1 tbody').append(x); }; })(rcdi),timeOut*c); } }