Skip to content
New issue

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

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

Already on GitHub? # to your account

ajaxSetup data not being sent with ajaxForm #242

Closed
Yohn opened this issue Oct 24, 2012 · 2 comments
Closed

ajaxSetup data not being sent with ajaxForm #242

Yohn opened this issue Oct 24, 2012 · 2 comments

Comments

@Yohn
Copy link

Yohn commented Oct 24, 2012

hey man, i gotta say I love your form plugin, and been using it for quite some time now without any problems..

tonight I found found a bug in my script that required me to pass another value to my submitting pages, so I figured i could use ajaxSetup to add that extra value to all my forms, so I included this at the top of those pages that needed it

$.ajaxSetup({data: {checkSum: 'secret key'}})

and I noticed that it worked fine for all my $.post ajax requests, but when I used the $().ajaxForm to send the data, the checkSum wasnt being included.

I can go through and edit all these pages to hold that value, which is what I'm prolly going to do, but it would be good if the ajaxSetup worked..

I'm using version: 3.18 of jquery form, jquery 1.8.2 and firefox v.16

@evitolins
Copy link

I'm having this same issue. +1

jQuery v1.10.1
form: 3.46.0-2013.11.21

@kevindb
Copy link
Contributor

kevindb commented Feb 21, 2017

Possibly resolved by #506

@kevindb kevindb closed this as completed Feb 21, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants