[jQuery] Re: How to get the responsetext with $.ajax

2009-12-09 Thread Civette
I do have something h looking like your code taht works fine. I do return result in a div : ___ $.ajax({ type: POST, url: get_opened_all.php, data: from_date=+$('input#from_date').val()+to_date=+$

[jQuery] Re: Selector issue

2009-12-04 Thread Civette
Well, after a few tests, this works fine : $(#cat_list div).live(click, function() { alert($(this).attr(id)); }); thanx

[jQuery] Re: Selector issue

2009-12-04 Thread Civette
that handles 1 child or 1200 children using .live, you would have N number of events sitting there wired up where N is the number of children.  but whatever works i suppose On Dec 4, 3:35 am, Civette la.cive...@gmail.com wrote: Well, after a few tests, this works fine : $(#cat_list div).live

[jQuery] Selector issue

2009-12-03 Thread Civette
Well i'm in trouble. Following code does not trigger : Code: Select all $(#cat_list div).click(function() { alert(Bye bye!);; }); neither Code: Select all $(#cat_list ~ div).click(function() { alert(Bye bye!);; }); or Code: Select all $(#cat_list

[jQuery] Re: Selector issue

2009-12-03 Thread Civette
Well, actually my div 39, 40, are returned in the cat_list div from a previous ajax query. Numbers are in fact the autoincrement id's in a mysql table. Point is, on clicking each, to edit it. That specific javascript part is returned by that ajax query.

[jQuery] Re: Selector issue

2009-12-03 Thread Civette
I'll test it tomorrow. Thx for answer

[jQuery] Re: Selector issue

2009-12-03 Thread Civette
 pm, Civette la.cive...@gmail.com wrote: Well, actually my div 39, 40, are returned in the cat_list div from a previous ajax query. Numbers are in fact the autoincrement id's in a mysql table. Point is, on clicking each, to edit it. That specific javascript part is returned