cluetip loop issue
cluetip loop issue
Hi im having an issue using cluetip when inside a php loop. the 1st intstance works but none of the others
example php code
while($row = mysql_fetch_array($qry_result)){
echo "<a id=clickme href=ajaxclick.htm rel=ajaxclick.htm title=Site>click me</a>";
}
example javscript code
$('#clickme').cluetip({
activation: 'click',
height: '250px',
dropShadow: true,
sticky: true,
width: 500});
I know its an with the javascript as when i modifed the code and put a counter on the loop and id=clickme$i and i created 2 instances of the java script code clickme1 & clickme2 it worked, but not sure how best to handle this.
thanks