I’ve got this code:
$('a').click(
function() {
$("#change_flash").css("display", "block"); $("#my_flash").css("display", "none");
});
But this one works for all anchor elements. I would like to influence with this script only for anchors elements which contains rel=”lightbox” attribute.
How can I achieve it?
1 Answer