Created
February 11, 2014 19:00
-
-
Save tanrax/8941648 to your computer and use it in GitHub Desktop.
JQuery: Deshabilitar campos de entrada (formularios)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// para deshabilitar un campo, en este caso un botón para enviar | |
$('input[type="submit"]').attr("disabled", true); | |
// para volver a habilitar el botón | |
$('input[type="submit"]').removeAttr('disabled'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment