Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: e.push is not a function at Function.r.searchAndSet (nserializejson.min.js:2) #3

Open
chiragkalani opened this issue Nov 24, 2020 · 0 comments

Comments

@chiragkalani
Copy link

chiragkalani commented Nov 24, 2020

Getting the following error when form element have an array name. Please see attached zip for reproducing it.
<head> <script type="text/javascript" src="nserializejson.min.js?v=706aa2ffa"></script> </head> <body> <form id="form"> <input type="checkbox" name="bookinDate1[costcenter4][sfTax][1234][]" value="5" checked /> </form> <script> var oForm = document.getElementById('form'); console.log(NSerializeJson.NSerializeJson.serializeForm(oForm)); </script> </body>

issue.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant