If I wanted to get the rel values for all elements which match a jQuery
call, how would I do that?
 
I thought that this:
 
var $selected = $('.selected').attr('rel');
alert($selected);
 
would give me this: 9/1/2007,9/30/2007
 
But it only returns the first value. Is this correct behaviour? I basically
need to get the rel attribute of all elements which have a specific class
for use further down the codebase.
 
____________________________________
 
Andy Matthews
Senior ColdFusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com <http://www.dealerskins.com/> 
 

<<att34897.bmp>>

Reply via email to