$(document).ready(function() { $('.show_ratings_div').replaceWith('
Bisherige Bewertungen<\/p>\n
Schönes Bardenabenteuer - Das Instrument ist vielleicht fast schon zu mächtig.<\/p>\n\n <\/div>\n <\/div>\n <\/div>\n <\/div>\n <\/div>\n <\/div>\n<\/div>\n'); $('.ui-icon-closethick').on('click',function(e){$('.show_ratings_div').hide();}); $.fn.showRating('.my_adventure_rating',false); $.fn.showRating('.review_adventure_rating',true); $('.show_ratings_div').show(); $('#rating_review').focus(); });