I am dynamically generating HTML code and it works fine and I am sure that it contains the ID's that I am using.
However, I wrote some event listeners for these 2 dynamically generated ID's.
$("#dynamicID2").click(functionX);
$("#dynamicID3").click(functionX);
However, It doesn't work. Why is this? and how do I fix this?