Rateit plugin not working for content appended after page load

I am using rateit plugin by http://gjunge.github.io/rateit.js/examples/

Every thing works fine until i load content with starts on page dynamically after page load. Stars simply don't appear.

My dynamically generated content which is appended to the page looks likes this(form ajax request):

<div class="caption">      <p id="productNameInFeeds"><a href="https://youlense.com/view/IPHONE">              <b>IPHONE</b></a> - I PHONE 6S</p>      <div class="rateit" data-rateit-value="3.00"           data-rateit-ispreset="true" data-rateit-readonly="true" data-rateit-max="10">      </div>      <div>          3.00 Stars | 2 Reviews | 10 Views | 1 Followers      </div>  </div>

Can anyone tell me the solution?

Thanks in advance

Replay

Category: javascript Time: 2016-07-30 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.155 (s). 12 q(s)