HI,
Thanks for your response, it's a good answer and works in the case you
describe.
Unfortunately I've got 2 more li's in between the clicked li and the
toggled li. The full code looks like this:
ul
li class=evdatedate/li
ll class=evnamea href=#name/a/li
li class=evregionRegion/li
Hi guys, this is the answer to how to pass a variable to a jquery function
and perform an action on a dynamic list.
http://www.learningjquery.com/2006/09/slicker-show-and-hide#comment-60792
http://www.learningjquery.com/2006/09/slicker-show-and-hide#comment-60792
[EMAIL PROTECTED] wrote:
So, and if am understanding correctly... you have this html an are
after some sort of accordion like behavior
ul
li class=evnameEvent 1 Name/li
li class=evsumSummary of Event 1/li
li class=evnameEvent 2 Name/li
li class=evsumSummary of Event 2/li
li class=evnameEvent 3
I'm new to jquery as well. But I'm wondering if something like this
wouldn't work.
$(function() {
$(.evname a).click(function() {
$(this.hash).slideToggle(500);
return false;
});
});
You would, of course,
How can I subscribe it?
Steve
5 matches
Mail list logo