On tab click I’m rendering page using “page include” component, I want to print time once the page load completed, I’m using below function (inline js), but it’s printing time before rendering the page.
(function(skuid){
var $ = skuid.$;
$(function(){
$(‘body’).on(‘tabshow’,function(event){
console.log(new Date().toLocaleString());
});
});
})(skuid);
Question
How to print time when a tabs DOM elements are rendered?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
