sam
05/12/2017, 5:54 AMpageInit but nothing happened. It could be that pageInit is running before alert can run (before document fully loaded) or it could be that the whole pageInit function isn't running. Maybe try console.log('foo'); does that run in pageInit?