Skip to content

Instantly share code, notes, and snippets.

@negipo
Created March 1, 2017 09:33
Show Gist options
  • Save negipo/741359e96fcb5365ec5066fc5c0b7fdc to your computer and use it in GitHub Desktop.
Save negipo/741359e96fcb5365ec5066fc5c0b7fdc to your computer and use it in GitHub Desktop.
$('<script/>').attr('src', 'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js').appendTo($('body'));
$('<link/>').attr({href:'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css', rel: 'stylesheet'}).appendTo($('body'));
$('select').select2();
@negipo
Copy link
Author

negipo commented Mar 1, 2017

一行ずつ入れる

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment