[jQuery] DOM traversing then applying a non JQuery function

[jQuery] DOM traversing then applying a non JQuery function

Alright. I have a non Jquery function called <span style="font-weight: bold;"><span style="font-family: courier new,monospace;">myFunction(</span><span style="font-style: italic; font-family: courier new,monospace;">domObject
</span><span style="font-family: courier new,monospace;">)</span></span> prepared to receive a DOM object as a parameter.
I want to use this function with several objects that share the same class, so i use a sentence like this in the main page:
<span style="font-family: courier new,monospace;">$(".oneClass").each(moveCodeToImg(this))
</span>
, but it doesn't seem to be working and firebug raises the following exception:<span style="font-family: courier new,monospace;">
fn has no properties
</span>Maybe the problem is that, by doing this, what I'm passing is not an object, but an array of them, but that's why I use the construction <span style="font-family: courier new,monospace;">
each..this</span>. Any ideas?
Thanks.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/