Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type = "text/javascript">
- $('#editar').click(function() {
- if ($('input[name=idservicio]').is(':checked')) {
- return true;
- } else {
- alert('Debe seleccionar un registro');
- return false;
- }
- });
- </script>
- <button id="editar" >Comprobar</button>
- <input type="checkbox" name="idservicio" />
Advertisement
Add Comment
Please, Sign In to add comment