Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

selecting -- a jquery plugin for chained selecting, coded by CoffeeScript

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 jquery.selecting.coffee
Octocat-spinner-32 jquery.selecting.js
README.md

jquery-selecting -- a jquery plugin for chained selecting, coded by CoffeeScript

Usages:

$('selector').selecting({
  remote: {
    url: 'json_array_url',
    data: {}
  }
});

JSON Array format:

[ [ ["Select[name]", "option"]
    ,["univ", "university"]
    ,["campus", "campus"]
    ,["dorm", "dormitory"]
  ]
  ,[["USTC", "University of Science and Technology of China"]
    ,[["west", "west campus"]
      ,[["x007", "Student Dormitory No.7"]
      ]
      ,[["x008", "Student Dormitory No.8"]
      ]
    ]
    ,[["east", "east campus"]
    ]
    ,[["north", "north campus"]
    ]
    ,[["south", "south campus"]
    ]
  ]
  ,[["HFUT", "HeiFei University of Technology"]
  ]
  ,[["AHU", "AnHui University"]
  ]
]
Something went wrong with that request. Please try again.