On 10/17/07, Richard D. Worth <[EMAIL PROTECTED]> wrote:
>
> Inside the $.each callback function, 'this' holds a reference to each
> iterating/ed element (in your example, the dd). See 
> http://docs.jquery.com/Core/each#callback
> for more info. So, you can do
>
> $(this).find("input")
> -or-
> $("input", this)
>
> One other thing you might do is change
>
> $.each($("dd"),function(i) {
> to
> $("dd").each(function(i) {
>
> The $.each method (
> http://docs.jquery.com/Utilities/jQuery.each#objectcallback ) is great for
> iterating through arbitrary objects and arrays, but since you've got a
> jQuery object, you can call the each method on it instead.
>
> - Richard



Thank you Richard.
I'll try this.

Didats.

Reply via email to