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

How could I get only the changed fields? #10

Open
popkin opened this issue Feb 28, 2017 · 2 comments
Open

How could I get only the changed fields? #10

popkin opened this issue Feb 28, 2017 · 2 comments

Comments

@popkin
Copy link

popkin commented Feb 28, 2017

I want this plugin to monitor if my form is dirty, but just submit the changed fields to the server.
How can I do this?

@popkin
Copy link
Author

popkin commented Mar 20, 2017

Self answer:

$('form *[data-is-dirrty="true"]').serialize()

@Steepe
Copy link

Steepe commented Jan 11, 2019

Self answer:

$('form *[data-is-dirrty="true"]').serialize()

Hey, Can you please give an example of this?

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

2 participants