Getting class value
<p>I have an image, onclick on wich i make some <code>ajax</code> requests.
i need to pass a variable from <code>$_GET[]</code> to my onclick function, so i deside to do the following</p>

<pre><code>&lt;img id="img1" class="&lt;?=$_GET['value']"?&gt; /&gt;
</code></pre>

<p>and jquery</p>

<pre><code>$("#img1").click(function()
{
how can i get the class value here???
});
</code></pre>

<p>Thanks</p>
