Skip to content

Instantly share code, notes, and snippets.

@andrerocker
Created November 7, 2010 17:44
Show Gist options
  • Save andrerocker/666273 to your computer and use it in GitHub Desktop.
Save andrerocker/666273 to your computer and use it in GitHub Desktop.
Fragmento de Codigo para Desbloqueio do Formulario
/**
* Desbloqueia o Formulario
*/
HTMLFormElement.prototype.unlockForm = function()
{
var elmnts = this.elements;
var store = buildStoreForm(this, false);
for(i=0; i<elmnts.length; i++)
habilitaItemForm(elmnts[i], !store[i]);
store['locked'] = false;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment