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=+$
Well, after a few tests, this works fine :
$(#cat_list div).live(click, function()
{ alert($(this).attr(id));
});
thanx
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
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
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.
I'll test it tomorrow.
Thx for answer
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
7 matches
Mail list logo