Hi, i'm using php to create the stars for rating:
echo '<p>';
   echo "<strong>Concept</strong>";
   for($i = 1; $i < 6; $i ++) {
   ?>
       <input type="radio" name="concept" class="star" />
   <?php
   }
echo '</p>';

But how can i know what rating is selected?

When i use:
console.log($('input[name=concept]').val());

i just get: "on"

Reply via email to