"table for teste"
Bootstrap 3.3.0 Snippet by Daichi

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2> <table id="tb_unidades" class="table table-striped table-bordered dataTable no-footer" cellspacing="0" width="100%" role="grid" aria-describedby="tb_unidades_info" style="width: 100%;"> <tr> <td> 1 <input type="radio" name="choice" value="1"> </td> <td> 2 <input type="radio" name="choice" value="2"> </td> <td> 3 <input type="radio" name="choice" value="3"> </td> </tr> </table> </div> </div>
$("td").click(function () { $(this).find('input:radio').attr('checked', true); });

Related: See More


Questions / Comments: