Try this (totally untested): $("form table tr.required").find("[EMAIL PROTECTED]''], [EMAIL PROTECTED]'']").filter(function() { return this.required != false; });
see http://docs.jquery.com/DOM/Traversing#filter.28_filter_.29 info my usage of $().filter() On 6/6/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
I want to construct a selector that finds empty elements in a required tr. However, I want to ignore inputs that have an expando value required=false Something like: $("form table").find("[EMAIL PROTECTED]'']").not("[EMAIL PROTECTED]'false']"); Does this look right? I also want to find selects that have a value of "" too. :) Would that be: $("form table").find(" tr.required [EMAIL PROTECTED]''],[EMAIL PROTECTED]''],").not("[EMAIL PROTECTED]'false']"); How do you tell the currently selected item in the select? Glen
-- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com