if those <div>'s are dynamically added, which it sounds like is the
case, then the "new" <div>'s do not get wired automatically...   <-
this is easily the most common trip-up seen on this mailing list

Event Delegation would be your friend here

http://jsbin.com/ivivo/edit

that way the container event "cat_list" has the event and you can add/
remove children from it as you please


On Dec 3, 4:10 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 by that ajax query.

Reply via email to