We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this will fail if you traverse back a level in the array:
<form id="tests"> <input name="something[something][title]" value="test"/> <textarea name="something[description]">Test</textarea> </form> $('#tests').toObject();
Result:
Uncaught TypeError: Object # has no method 'push' and to reorder so not traversing back results in an unexpected object: <form id="tests"> <textarea name="something[description]">Test</textarea> <input name="something[something][title]" value="test"/> </form> $('#tests').toObject(); Result: something: 0: "Test" something: title: "test" Expected result for both cases: something: description: "Test" something: title: "test"
Uncaught TypeError: Object # has no method 'push'
and to reorder so not traversing back results in an unexpected object:
<form id="tests"> <textarea name="something[description]">Test</textarea> <input name="something[something][title]" value="test"/> </form> $('#tests').toObject();
something: 0: "Test" something: title: "test"
Expected result for both cases:
something: description: "Test" something: title: "test"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this will fail if you traverse back a level in the array:
Result:
The text was updated successfully, but these errors were encountered: