$("p").attr("rel", "someRel")
But instead of setting it as static, I want to set it based upon the attributes of the p's in question. For instance, say I want to set the rel to be the same as the class. Is there any way to get access to the DOM element being worked on while inside a function call? this doesn't seem to work...
--
Yehuda Katz
Web Developer | Wycats Designs
(ph) 718.877.1325
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
