Hi All,

I am currently working through Sitepoint's "Simply Javascript" book but I have come to a bit of a stumbling block...

In one of the examples using the getElementById method the code reads:

Code JavaScript:
var target = document.getElementById("berenger");

However when I try this in on my Mac it doesn't work, the page loads up but the alert doesn't show despite the fact that there is an id with the relevant value in the HTML.

Can anyone help?