Skip to content

Optionally clear child selects

Compare
Choose a tag to compare
@tuupola tuupola released this 12 Sep 12:07
· 63 commits to 2.x since this release

Possibility to clear child selects before making JSON request. You can also optionally set loading text. This helps to avoid confusion with slower remote requests.

$("#engine").remoteChained({
    parents : "#engine, #model",
    url : "/api/series.json",
    clear : true,
    loading : "Loading..."
});