I want to hide wrapper from on page load.
Please find the code as below:
(function(skuid){
var $ = skuid.$;
$(document.body).one('pageload',function(){
$(document).ready(function(){
alert('page loaded'); // alert to confirm the page is loaded
$('wrapperId').hide(); //enter the class or id of the particular html element which you wish to hide.
});
});
})(skuid);
I tried lot twist the code but I didn't get result.
Please find the code as below:
(function(skuid){
var $ = skuid.$;
$(document.body).one('pageload',function(){
$(document).ready(function(){
alert('page loaded'); // alert to confirm the page is loaded
$('wrapperId').hide(); //enter the class or id of the particular html element which you wish to hide.
});
});
})(skuid);
I tried lot twist the code but I didn't get result.