Hi I am new to javascript. I have found jquery very handy. So I used it to display a popup on a page for one link. The popup is opening fine with that link. But when I am trying to open same popup with other links then its not opening in IE 6 7 8. I used property 'this' to achieve on multiple links. I have used Below is my code:
CSS
#box {width: 100px; height:100px; background: red; position: absolute; top:0px; right:0px; display:none;}
javascript
$(function(){
$("#clickme",this).click(function(){
$("#box").show();
});
$("#close").click(function(){
$("#box").hide();
});
});
html
<a href="#" id="clickme">CLICKa MEa</a> <a href="#" id="clickme">CLICKa MEa</a>
close