Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasl/jquery.deserialize
deserialize jquery.serialize() or query string to form
https://github.com/jasl/jquery.deserialize
Last synced: 9 days ago
JSON representation
deserialize jquery.serialize() or query string to form
- Host: GitHub
- URL: https://github.com/jasl/jquery.deserialize
- Owner: jasl
- Created: 2014-05-18T19:15:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-18T19:33:09.000Z (over 10 years ago)
- Last Synced: 2024-12-24T00:14:28.571Z (18 days ago)
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jQuery Deserialize
====Simple plugin for deserialize jQuery.serialize() or query string to form.
## Usage
`$('#form1').deserialize('user_id=1');`
## Options
Accepts the `except` option to exclude keys from the string. For example:
`$('#form1').deserialize("x=1&y=2&a[b]=val", {except: ['x', 'a[b]']});` will skip deserialize `x` and `a[b]` to the form.
also, you can set `data-skip-deserialize="true"` to tag to skip.
## License
This project rocks and uses MIT-LICENSE.