1.10.2 How to apply to newly created elements. Which were created by:
$('#ids').append('<div class="sel_option" value="'+i+'">'+i+'</div>');
How to catch a click? Or how to create elements which could be addressed ...
'+i+''); How to ca" /> '+i+''); How to ca" /> '+i+''); How to ca"/>
1.10.2 How to apply to newly created elements. Which were created by:
$('#ids').append('<div class="sel_option" value="'+i+'">'+i+'</div>');
How to catch a click? Or how to create elements which could be addressed ...
.on()
As your contents are
loaded dynamicallyyou can't access themdirectly.At the load time i.e
DOM readydynamically loaded contents are not part of DOM.So you have to use
event Delegation.So bind the event on the element which is present in the DOM at page load