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

ajax request post method #62

Open
LVB2424 opened this issue Sep 22, 2017 · 2 comments
Open

ajax request post method #62

LVB2424 opened this issue Sep 22, 2017 · 2 comments

Comments

@LVB2424
Copy link

LVB2424 commented Sep 22, 2017

Hi, the remoteChain method send data to the url with GET method. Is there a way to use POST ajax method ? Can we add additionas paramether to the url?
Thank you and sorry for my english :)

@xup6m06c04
Copy link

You could pass additional value with "depends". Here's the sample code I found.

$("#transmission").remoteChained({ parents : "#engine", url : "/api/transmissions.json", depends : "#value1,#value2" });

@tuupola
Copy link
Owner

tuupola commented Oct 31, 2017

Like @xup6m06c04 said you can use depends to add additional values to the url. POST:ing is not supported.

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

3 participants