I have function in JS:
setRating();
And Jquery ready body with calling this function:
$(function(){
setRating($('.ratings'));
});
Problem is that when I get HTML content from AJAX on page with elements .ratings then previous code does not work.
Seem I need to call setRating() in AJAX response after getting content?!