title: show default star rating on rateYo jquery star plugin
body: <p>I want to show a preset value for a star rating and I have already used this but nothing is happening.</p>
  <pre><code>&lt;div class='rateYo' data-rateyo-rating='3' data-rateyo-score='4'&gt;&lt;/div&gt;
  &lt;span class='score'&gt;0&lt;/span&gt;
  &lt;span class='result'&gt;0&lt;/span&gt;
  
  $(function () {
    $(&quot;.rateyo&quot;).rateYo().on(&quot;rateyo.change&quot;, function (e, data) {
      var rating = data.rating;
      $(this).parent().find('.score').text('score :'+ $(this).attr('data-rateyo-score'));
      $(this).parent().find('.result').text('rating :'+ rating);
     });
  }); 
  </code></pre>
  <p>I have an ajax call which on after success does</p>
  <pre><code>$.each(arr, function(idx, obj) {
      PAmount = parseFloat(obj['price']) * parseFloat(obj['qty']);
      docc = &quot;&lt;div class='col-md-3'&gt;&quot;+obj['name']+&quot;&lt;/div&gt;&lt;div class='col-md-2'&gt;&quot;+obj['price']+&quot;&lt;/div&gt;&lt;div class='col-md-2'&gt;&quot;+obj['qty']+&quot;&lt;/div&gt;&lt;div class='col-md-2'&gt;&quot;+PAmount.toFixed(2)+&quot;&lt;/div&gt;&lt;div class='col-md-3 rateYo' data-rateyo-rating='3' data-rateyo-score='4'&gt;&lt;/div&gt;&lt;div class='col-md-12'&gt;&lt;br&gt;&lt;/div&gt;&quot;; 
  
      $('#productDataDetails'+b).append(docc);
  });
  </code></pre>