Re: [jQuery] Traversing to next class?

2010-02-03 Thread Nathan Klatt
On Tue, Feb 2, 2010 at 11:28 PM, Photonic tmlew...@gmail.com wrote: Now the problem I am having is with  $(this).next ('.textDescription').hide();   . What am I doing wrong. I was under the impression that it would select the next object with the class of textDescription and hide it... but it

[jQuery] Traversing to next class?

2010-02-02 Thread Photonic
I am trying to toggle content based on toggling links. Here is the code: a href=# class=portLink Used id=description style=float: left;DESCRIPTION/a a href=# class=portLink id=specifications style=float: right;SPECIFICATIONS/a div class=textDescription style=clear: both;pTest 1/p/div div