Hi all,
basicly, I'm writing some code so that when a user clicks on an image, a div will be displayed where the user has clicked. My jQuery code isn't working, so wondered if anybody knew how to fix it. All of this is in my document.ready() function.
$("img.image").click(function(e){
$("#div.marker").attr("id","marker" + count);
alert($("div.marker").attr("id")));
$("div.id").appendTo("div#map");
$("div.id").css("left",e.pageX).css("top",e.pageY);
$("div.id").show();
});
Thanks in advance