jquery_chained icon indicating copy to clipboard operation
jquery_chained copied to clipboard

ajax request post method

Open LVB2424 opened this issue 7 years ago • 2 comments

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 :)

LVB2424 avatar Sep 22 '17 14:09 LVB2424

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" });

xup6m06c04 avatar Sep 24 '17 08:09 xup6m06c04

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

tuupola avatar Oct 31 '17 12:10 tuupola