Code: Select all
<div id="' . $row['id'] . '">
<a href="#"><img src="./images/box/' . $boximg . '.png" border="0" title="' . $row['name'] . ': ' . $title . ' user(s)" /></a>';
</div>[quote$(document).ready(function(){
$("#' . $row['id'] . '").click(function(){
var click = $(this).attr("id") ;
alert(click);
}
][/quote]
How can I get the click value back to my php , I need this value to select something from my db
thank you