tuupola/jquery_chained

ajax request post method

LVB2424 opened this issue · 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 :)

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

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