In SharePoint 2013 they added a Script Editor WebPart. Add this to a page and add the following code in the WebPart Editor.
SharePoint call javascript after page load with Script Editor WebPart
by jeremy@bondbyte.com | Apr 11, 2014 | Javascript, SharePoint 2013 | 0 comments