Had to resort to 2 statements.  Still not sure why the filter() didn't work
as expected.

   $('TR[*/INPUT]',list).hide(); 
   $('TR[*/[EMAIL PROTECTED]',list).show();


Antonio Collins wrote:
> 
> My app has to present some rather lengthy list of choices.  Each choice
> has a checkbox tied to it and multiple choices can be made.
> 
> When 'editting' the choices, we want to see all available choices, but
> after editting is done, we only want to see what was selected.  I'm stuck
> coming up with the jQuery selector to display the user choices.  Something
> like this:.
> 
>    $('TR',list).hide().filter(':has([EMAIL PROTECTED])').show();
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/selector-help-tp17369737s27240p17371300.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to