ajax request post method
LVB2424 opened this issue · 2 comments
LVB2424 commented
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 commented
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 commented
Like @xup6m06c04 said you can use depends
to add additional values to the url. POST:ing is not supported.