I have an image, onclick on wich i make some ajax requests.
i need to pass a variable from $_GET[] to my onclick function, so i deside to do the following
<img id="img1" class="<?=$_GET['value']"?> />
and jquery
$("#img1").click(function()
{
how can i get the class value here???
});
Thanks