It looks like you are trying to serialize elements in a form, and one or more elements do not have a value attribute for reading.
There are 2 ways to fix it - either check all the elements of the form and make sure they have the value='' attribute at least.
OR
you can update the prototype.js file with some of the latest updates that have added checks to make sure the value attribute exists before trying to act on it.
https://github.com/jwestbrook/prototype/tree/master-w-updates/dist
source share