Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block L5eoneill

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ajaxray / select2-cascade.js
Last active Nov 7, 2019
Making Select2 (4.x) list boxes cascading / dependent. Options of a select2 list box will be loaded/refreshed by ajax based on selection of another select2 list box.
View select2-cascade.js
* A Javascript module to loadeding/refreshing options of a select2 list box using ajax based on selection of another select2 list box.
* @url :
* @auther : Anis Uddin Ahmad <>
* Live demo -
* w: | t: @ajaxray
var Select2Cascade = ( function(window, $) {
dylancwood / tree.css
Last active Jul 5, 2019
CSS to create a simple tree structure with connecting lines. No images or JS required.
View tree.css
ul.tree, ul.tree ul {
list-style: none;
margin: 0;
padding: 0;
ul.tree ul {
margin-left: 10px;
ul.tree li {
margin: 0;
You can’t perform that action at this time.