look at the events on the console log
jQuery 3.4.1, HTML, CSS, JavaScript
jQuery 1.9.1, HTML, CSS, JavaScript
jQuery 2.1.3, HTML, CSS, JavaScript
jQuery 1.11.0, HTML, CSS, JavaScript
This is a example where select2 is configured for single selection of Ajax. Also included in this example is a simple and a complex data implementation.
No-Library (pure JS), HTML, CSS, JavaScript
how to use html2canvas