<div id="sports" class="weather col-lg-12 col-md-12 col-sm-12 col-xs-12" style="width:100%;"> <form method="post" action="/SportsDept/Create" name="second" id="second"> <span class="status"></span> @foreach (var t in sptname) { <br /> <span class="status" ></span> <input name="Players[0].Level" id="Players_0__Level" type="radio" checked="checked" value="BEG"><label for="Players_0__Level">@t</label> } </div>
<script> $("#Players_0__Level").on("click", function () { location.href = '/SportsDept/Create/' + $(this).find('Players[0].Level').text(); }); </script>
<script> $("#Players_0__Level").each(function(){ $(this).on("click", function () { location.href = '/SportsDept/Create/' + $(this).find('Players[0].Level').text(); })}); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)