I\'m getting the following error
Uncaught TypeError: Cannot read property \'appendChild\' of null myRequest.onreadystatechange @ script.js
Uncaught TypeError: Cannot read property \'appendChild\' of null
myRequest.onreadystatechange @ script.js
put your javascript at the bottom of the page (ie after the element getting defined..)