Trying to build a jQuery map- click function not working
Hi all,
I'm trying to make some code so that when a user clicks on a picture, a image will be displayed where it was clicked (i.e the x and y co ordinates). Anyway, so I started writing it but my code doesn't seem to work, so I'd like to see what I've done wrong.
It's in the document.ready function.
$("img.world").click(function() { alert("clicked"); };
And the image which I want clicked has an id of "world".
Cheers,