While-loop divs not reacting
<p>I have a list of divs created using a while-loop</p>

<pre><code>while($row = mysql_fetch_array($result)){
$output = "&lt;div id='drag'&gt;$row[id] - $row[name] - $row['email']&lt;/div&gt;";
echo $output;}
</code></pre>

<p>When I try to make those divs highlighted for a few seconds.
Only the first div seems to be reacting.</p>

<pre><code>$("#drag").effect("highlight", {}, 2000);
</code></pre>

<p>Is there any strategy to make all the output be highlighted this way? And is there a way to make a certain div or divs highlighted?</p>
