[jQuery] Re: efficient way to find a parent
Thanks
[jQuery] datepicker enable previous dates
By default the previous dates are disabled. How can i set it so that all the dates are available in the date picker.
[jQuery] efficient way to find a parent
I want to find a parent for a button. I have set up the html like the following. My name goes here some description The thing is that I need to specify how many steps I have to go up to get the parent id( see the bottom ) and if I add another tag I migh have to change this source. Is there any way to specify using class ( maybe "$(this).parent(".user).attr("id") ?) so that I don't need to specify how many level I have to go up in order to get that id? $().ready(function(){ $(".select").click(function(){ alert($(this).parent().attr("id")); }); }); Thanks in advance.
[jQuery] Jquery toggle fast
We just upgraded to the latest version 1.2.6 and start having problem with toggle("fast") It was working until certain time. If i call it without parameter, it still works. I checked the release note for 1.2.6 but didn't find anything about not accepting these parameters( "fast","slow"..).