Hello,
I'm still learning jquery and I was wondering how to work with dynamic links
So say I have a while loop, and inside theres a link something like this:
while($row = mysql_fetch_array($sql_query)
$test = $row['id'];
{
echo "<a href='".$test.php."'>".$test."</a>";
}
I want to be able to click on the links but with each link do something based on jquery
$(document).ready(function(){
$test.click(function(){
//code
});
});
I'm not sure??
Thank you