Skip to content

Instantly share code, notes, and snippets.

@cristiandley
Created March 19, 2014 15:25
Show Gist options
  • Save cristiandley/9644123 to your computer and use it in GitHub Desktop.
Save cristiandley/9644123 to your computer and use it in GitHub Desktop.
Select2 XPages Bootstrap3
Original Select2: http://ivaynberg.github.io/select2/
Append: http://fk.github.io/select2-bootstrap-css/index.html
xSelector:
function x$(idTag, param){ //Updated 18 Feb 2012
idTag=idTag.replace(/:/gi, "\\:")+(param ? param : "");
return($("#"+idTag));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment