As your contents are loaded dynamically
you can't access them directly
.
At the load time i.e DOM ready
dynamically 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
$('#ids').on('click', '.sel_option', function () {
alert('clicked');
});