text inside li element
<p>im printing out unordered lists dynamically..something like this</p>

<pre><code>$sql2 = mysql_query("SELECT id, todo FROM todo");

while($row = mysql_fetch_array($sql2))
{
    $todo1 = $row["todo"];
    $todofeed.='

    &lt;ul&gt;
        &lt;li&gt;' . $todo1 . '&lt;/li&gt;
    &lt;/ul&gt;   

    ';
}
</code></pre>

<p>I want each li element that is printed out to be a link for some jQuery effect and for that  I need the text inside each li element dynamically i.e. as and when i click on it.Any way around this?</p>
