Create Javascript alert when the page has fully loaded using: $(document).ready(function() {

How can I create a javascript alert from an inline snippet when a Skuid page has fully loaded, something like the below:


var $ = skuid.$;

$(document).ready(function() {





Create a snippet of type “Inline”, it defaults to the correct setup for running a page load snippet.

Hi Moshe I created a snippet of type inline and have this:

var params = arguments[0],
    $ = skuid.$;

and when I load the page, the javascript alert doesn’t show, any thoughts

you have to choose the “inline” option (not “inline (snippet)”)


(function(skuid){ var $ = skuid.$;<br> $(function(){<br> &nbsp; &nbsp;alert('test');<br> });<br>})(skuid);

Thanks Moshe that worked a treat