"Radio Button Value"
Bootstrap 3.3.0 Snippet by Diosan

<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> <div class="input-group"> <div id="radioBtn" class="btn-group"> <a class="btn btn-warning radio-selector btn-sm active" data-toggle="happy" data-title="pub">Pub</a> <a class="btn btn-warning radio-selector btn-sm notActive" data-toggle="happy" data-title="pri">Pri</a></a> </div><br><br> <input type="hidden" name="happy" id="happy"> </div> <a id="add" class="btn btn-lg btn-primary">Add</a> </div> </div>
$(function() { //$('#add').click(function() { alert( "Handler for .click() called." ); // }); ]);

Related: See More


Questions / Comments: