[jQuery] Re: toggle some table rows based on partial ID

2007-09-17 Thread rolfsf
true - it is worldwide, but after a certain hour on the west coast U.S. things get real quiet until the other side of the Atlantic gets to work. Actually, the first thing I ever figured out in jquery many moons ago was a version of table grouping: http://www.monkeypuzzle.net/testfiles/jquery/Ac

[jQuery] Re: toggle some table rows based on partial ID

2007-09-17 Thread Glen Lipka
jQuery is world wide! You still may want to rethink how you are handling the whole thing. This feels like a limited solution for what you want. Is there a jQuery plugin that does grouping grids? Check out this example: http://extjs.com/playpen/ext-2.0-dev5/examples/grid/grouping.html It's not sm

[jQuery] Re: toggle some table rows based on partial ID

2007-09-17 Thread rolfsf
awesome Glen! I can't argue with a functioning demo! I figured I'd have to wait for the european community to wake up before I got my answer! Glen Lipka wrote: > > Ok, you twisted my arm. Whipped up demo: > http://www.commadot.com/jquery/containsXPath.php# > > This one actually fought me f

[jQuery] Re: toggle some table rows based on partial ID

2007-09-17 Thread rolfsf
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 .pa

[jQuery] Re: toggle some table rows based on partial ID

2007-09-17 Thread Karl Swedberg
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 , you'll need to use .parents() Also, since rowID is a variable, you need to separate it from the string in

[jQuery] Re: toggle some table rows based on partial ID

2007-09-17 Thread Glen Lipka
Ok, you twisted my arm. Whipped up demo: http://www.commadot.com/jquery/containsXPath.php# This one actually fought me for a little while. Table cells/rows do not their "display" setting to be mucked with. Glen On 9/17/07, rolfsf <[EMAIL PROTECTED]> wrote: > > > > Thanks Glenn... > of course i

[jQuery] Re: toggle some table rows based on partial ID

2007-09-17 Thread rolfsf
Thanks Glenn... of course in the example I gave, tr.drawer should have been tr.details... typing too fast. but I still can't get it to work. It seems that I do need to pull that variable out some how, but so far everything I've tried doesn't work, and I've been poring through postings and tutoria

[jQuery] Re: toggle some table rows based on partial ID

2007-09-17 Thread Glen Lipka
I think if you use rowID as a variable you need to pull it out. Like ('[EMAIL PROTECTED]" + rowID + "]'). I can't whip up a demo right now, but I think that should work. Glen On 9/17/07, rolfsf <[EMAIL PROTECTED]> wrote: > > > > In a table, I want to click an 'expand' button and toggle the displ