danielstocks/jQuery-Placeholder — pull request #33 by retiolum (2012-09-11 10:44:20+00:00)
Title: No id and name attributes for fake password fields

I had an issue with the fake password fields and some script that acted on submission of a form containing a password field; as the fake field also copied the name and id attributes from the original field, the submission script acted on the fake field instead of the real one and thus couldn't get the field value.
I've solved the problem by removing id and name attributes from the copied field using regular expressions.