我使用此星级评分: Star Rating
并将其放入我的表单中。 有一种方法可以在C#代码中获取所选值(星号)?
<div class="starRating">
<div>
<div>
<div>
<div>
<input id="rating1" type="radio" name="rating" value="1">
<label for="rating1"><span>1</span></label>
</div>
<input id="rating2" type="radio" name="rating" value="2">
<label for="rating2"><span>2</span></label>
</div>
<input id="rating3" type="radio" name="rating" value="3">
<label for="rating3"><span>3</span></label>
</div>
<input id="rating4" type="radio" name="rating" value="4">
<label for="rating4"><span>4</span></label>
</div>
<input id="rating5" type="radio" name="rating" value="5">
<label for="rating5"><span>5</span></label>
</div>
谢谢!