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

Added a third option to disable the array parsing functionality #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stefan-jonasson
Copy link

If the arrays have non-sequential numeric keys it will not work well with jQuery.param() function.
I my current project I have a lot of params like f[a][20][300]=1.
I want to use the current url and just change some parameter. If I do that and build a new URL with the jQuery.param function the resulting url will have 20*300 params with empty values.

My guess is that someone else has the same problem so I thought it might be good to have the possibility to disable the array parameter parsing.

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

Successfully merging this pull request may close these issues.

1 participant