Thanks Karl (again and again) I had spotted the parent() vs parents() problem a little while ago, but using the variable was tripping me up.
Karl Swedberg-2 wrote: > > Hi Rolf, > > One problem here (other than using "drawer" instead of "detail" in > your selector) is that you're using .parent() which only goes up one > level in the DOM tree. To reach the <tr>, you'll need to use .parents() > > Also, since rowID is a variable, you need to separate it from the > string in the selector expression. That part can be written this way > (using "^" rather than "*" because you're looking for an ID that > starts with rowID: > > .siblings('[EMAIL PROTECTED]' + rowID + ']') > > Hope that helps point you in the right direction. > > --Karl > _________________ > Karl Swedberg > www.englishrules.com > www.learningjquery.com > > > -- View this message in context: http://www.nabble.com/toggle-some-table-rows-based-on-partial-ID-tf4470342s15494.html#a12747814 Sent from the JQuery mailing list archive at Nabble.com.