alert('Rel: '+$("#imageDetail").attr('rel')+' Src: '+$('#imageDetail').attr('src')+' Alt: '+$('#imageDetail').attr('alt')+'');
<a href="chairs-1-high.jpg" id="zoomLink">
<img id="imageDetail" src="chairs-1.jpg" alt="Director's chairs" rel="1" />
+ Jquery is working
Rel: Src: # Alt: Director's Chairs
+ Version 1.4.4
+ They're no conflicting libraries
+ The function I am building is supposed to select the next image which currently doesn't work I have debugged it down to jquery not retrieving the REL attribute. However it does/can retrieve the ALT, ID.