Morning! I'm having problems with my code. I need to click an image and get an overlay with the information of that image. I have the overlay and my image sends the ID.
My php is:
echo "<td><a href='#?id=".$row['id']."'' class='qwe'><img src='../covers/nocover.jpg' width='100' /></a></td>";
And my JavaScript is:
$( ".qwe" ).click(function() {
$.get("Get.php", function(respuesta){
$("#popup").html(respuesta);
})
$( "#popup" ).show("fade");
});
my Get.php is:
<h1>You sent a value by GET: <?php echo $_GET['id']; ?></h1>
when i click my anchor class .qwe my overlay works good, it opens and show me the Get.php file inside but the problem is that i don't know how to catch the id that my anchor is sending.