Skip to content

Instantly share code, notes, and snippets.

@pjambet
Created October 16, 2012 19:38
Show Gist options
  • Save pjambet/3901482 to your computer and use it in GitHub Desktop.
Save pjambet/3901482 to your computer and use it in GitHub Desktop.
var garbageInput = form.children().last();
if(garbageInput.attr('id') == "javax.faces.ViewState") {
form[0].removeChild(garbageInput[0]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment