Hi,
This code is based on prototype and returns all the input elements that are inside span tags that have .myClass as the class attribute so I can iterate each one.
What will be the syntax for JQuery?
$$('span.myClass input').each(function(element) {alert(element)});