Skip to main content

I have simple inline JavaScript on my skuid page to remove table component which works fine when I preview this Skuid page. But it does not work when I include this page in other Skuid page via Page include component. Any idea?

In your Inline JavaScript where it says

skuid.$(function(){

Replace this with

skuid.$(document.body).one(‘pageload’,function(){


Just a suggestion for the Skuid…

This question comes up over and over again. Perhaps there is a place in the documentation for the Page Include component where you could provide a warning for users with inline javascript?


Matt, understood. One way we are going to help eliminate this problem in the future is to change the default Inline JavaScript code to stop using $(function(){ as the default and to use $(document.body).one(‘pageload’,function() as the default. 


worked. Thanks Zach!