Customize the hide method

If you don't just want to hide the labels but set a class that do that you are more flexible now by using the hideMethod setting.
Background: Screenreaders ignore labels with "display:none;" but see labels that are hidden by "overflow:hidden;" and that stuff.
So you hide the labels but have them available for screenreaders that way.

Example usage:
$('#formId').html5placeholders({hideMethod: function(ele){ele.addClass('sr-only');}});

and somewhere in your CSS for example:

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
fix indent
Made default hide method screen reader friendly
Added demo of overriding the the hide function