Skip to content

Instantly share code, notes, and snippets.

@primogf
Created May 16, 2017 18:14
Show Gist options
  • Save primogf/545a54c775282932a5af84cdd758dd93 to your computer and use it in GitHub Desktop.
Save primogf/545a54c775282932a5af84cdd758dd93 to your computer and use it in GitHub Desktop.
codigo jquery para habilitar e desabilitar todos os campos do formulario
//desabilita
$("#form :input").prop("disabled", true);
//habilita
$("#form :input").prop("disabled", false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment