[jQuery] Re: Toggle element based on value

2007-07-05 Thread DamianD
eed to be more specific about the element coming next, you > can place the details of the element to toggle inside the .next() > parentheses: > .next('div.newsitememail') > > Hope that helps point you in the right direction. > > --Karl > _ &

[jQuery] Toggle element based on value

2007-07-01 Thread DamianD
Hi, How do I toggle a div based on the div's value? Example: The site I am working on has multiple blog posts per page. Under each post is a menu. One of the menu items is for emailing the story. Under this there is a div that will display the email form. This div is hidden by default. Th

[jQuery] Re: Toggle element based on value

2007-07-01 Thread DamianD
var i' is not passed to nth(). How can I get the var to pass properly? DamianD wrote: > > Hi, > > How do I toggle a div based on the div's value? > > Example: The site I am working on has multiple blog posts per page. > Under each post is a menu. One of th