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
add your script tag on the bottom of the body tag. so that script loads after html content then you won't get such error and add=