The code is:
setTimeout(function () {
$(id_lastchild).click();
$("#upload_download_doc").hide();
}, 150);
setTimeout(function () {
$(id_lastchild).click();
$("#upload_download_doc").hide();
}, 100);
but I want to do above in a function like
function click_hide_Scroll(){
$(id_lastchild).click();
$("#upload_download_doc").hide();
}
Implementation which I am looking for is
delay(100).click_hide_Scroll().delay(100).click_hide_Scroll();
that means after 100ms delay call function after completion of it and 100ms delay call that function again.. Is it possible? or any other code to do this?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire