Skip to content

Legacy syntax removed

Latest
Compare
Choose a tag to compare
@tuupola tuupola released this 15 Sep 15:20
· 47 commits to 2.x since this release

Legacy syntax was removed. Remote version accepts all options including url only as object.

$("#series").remoteChained({
  parents : "#mark",
  url : "/api/series.json"
});

Passed in JSON can now be array of objects.

[
  { "" : "--" },
  { "series-1" : "1 series" },
  { "series-3" : "3 series" },
  { "series-5" : "5 series" },
  { "series-6" : "6 series" },
  { "series-7" : "7 series" },
  { "selected" : "series-6" }
]