sending a php variable to onclick event
<p>can i send a php variable to my javascript function using onclick event of a link like this</p>

<pre><code>&lt;a onclick="change(&lt;?php echo $description ?&gt;)"&gt;
</code></pre>

<p>when I echo the description it is available but when I send it to my javascript function it says undefined </p>

<p>How can I do this ?</p>

<p>Thanks</p>
