I tried method : Attaching click event to a JQuery object not yet added to the DOM
but seems not working in my situation. After I created dom
elements by jquery
, the newly created elements are not accessible. What I want is to after clicking "click me"
button, and the image will show up and I hope click the image and a div (#color-picker-box)
to show up.