In my opinion, they should have made it so that serialize doesn't use double quotes because you have to remove them when serialize is used in a hidden form field.
I don't think serialize() was intended to be used with an HTML form. Most likely, that functionality was developed for situations where you have to store data to a file. Like sessions.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.