[jQuery] Accessing the value

[jQuery] Accessing the value


Hi, i'm using php to create the stars for rating:
echo '

';
echo "<strong>Concept</strong>";
for($i = 1; $i < 6; $i ++) {
?>
<input type="radio" name="concept" class="star" />
<?php
}
echo '






';
But how can i know what rating is selected?
When i use:
console.log($('input[name=concept]').val());
i just get: "on"