[jQuery] jquery inside a loop... need suggestions to improve code

2007-03-16 Thread Michael E. Carluen
Hello (CF) jQuerians, I currently have a working code but I would really like to improve and make it more efficient. Your suggestions will be great. Right now, I have a jquery script inside a loop (cfloop). The jquery is a just simple tooltip-like functionality, that shows and hides a

Re: [jQuery] jquery inside a loop... need suggestions to improve code

2007-03-16 Thread Daemach
Try this: cfoutput query=myQuery a class=tooltip id=aid_#myQuery.id# href=somepage.cfm ?to=#myquery.id##myQuery.text#/a img id=imgid_#myQuery.id# src=/thumbnails/#myQuery.image# / /cfloop script type=text/javascript $(document).ready(function(){ $(img.tooltip).hide();