Using JS to pause a redirect & using JS to refresh a page after an action button is clicked

Hey Tim, please try the following

TB.render('component_ID', function(data) {
    data.ele.find('.my-action-link a').click(function(){
        $('body').append('<div class="loader"><p>The contract is being generated, please wait...</p></div>');
        setTimeout(function(){
             location.reload();
        },10000);
    });
});
1 Like