Run code when tab loads

Works - thanks!

FYI for readers, this approach (my code below) works when the page is used as an include, but doesn’t work when the page is used by itself. For that use my code example above, I guess.

(function(skuid){ var $ = skuid.$; $(function(){ $(document.body).one('pageload',function(){ var models = skuid.model; var workshopRow = models.getModel('WorkshopDetail').getFirstRow(); ...