I have content that is loaded from an ajax call but i want to bind a custom method (not an event) to the dom elements to achieve some functionality.
Most of the solutions i find online are binding events to the page like
$(".example").ajax({
'success': function(data) {
something()
}
})
I want to achieve something like 'on load of the content' because there is no event there..
$('.post').live('load', function() {
.....
});