I'm trying to use 'click' on a dynamically generated DOM. I know that I can just use live or on, however my dynamically generated content is within multiple dynamically generated pieces of content and live/on no longer works.
So my code looks something like this but with more elements before El_b:
El_a = document.createElement("li");
El_b = document.createElement("a");
El_b.id = "myEl";
El_a.appendChild(El_b);
Is there a way to make this work?
PS: I've also tried the livequery jQuery plugin.