Skip to content

Instantly share code, notes, and snippets.

@andrerocker
Created November 7, 2010 17:41
Show Gist options
  • Save andrerocker/666271 to your computer and use it in GitHub Desktop.
Save andrerocker/666271 to your computer and use it in GitHub Desktop.
Fragmento bt-lockform
/*
* Bloqueia o Formulario
*/
HTMLFormElement.prototype.lockForm = function()
{
var elmnts = this.elements;
armazenaEstadoFormulario(this);
for(i=0; i<elmnts.length; i++)
habilitaItemForm(elmnts[i], false);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment