Those both do the trick.

I found the solution before my post showed up in the forum. I am
guessing it took several minutes before my post showed up because it
needed to be moderated since it was my first post. Otherwise, I would
have saved you two some time.

Thanks!

On Dec 10, 10:45 pm, aquaone <[EMAIL PROTECTED]> wrote:
> http://docs.jquery.com/Utilities/jQuery.each
>
> $(".myClassName").each(function(){alert($(this).attr('id'));}); I believe...
>
> aquaone
>
> [EMAIL PROTECTED] wrote:
> > Here is my selection: $(".myClassName")
> > Here is my function: function myFunction { alert( $
> > (this).attr('id'); }
>
> > So, foreach selected element in my selection I want to run myFunction
> > on it.
>
> > Does that make sense?
>
> > Thanks!

Reply via email to