I´m looking for a good way to re-init a plugin after the content is loaded with Ajax. For example this code initialize a jquery plugin:
$('.helloworld').plugin({
option_one: value
});
So after the content is loaded with ajax a new element with the class "helloworld" is inside the page. I want that the plugin I've just initialized refers also to the elements which are loaded with ajax. I could put the code above into a JavaScript-function and call this after the ajax load but I think there is a more comfortable way. Does somebody know how?