I'm trying to use the Select2 library. But I haven't been able to get anything to show up. Even when I tried this simple example, it didn't work. The HTML file, CSS file and JS file are all in the same folder.
When I load this the browser is totally blank.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>title</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<link href="select2.css" rel="stylesheet" />
<script src="select2.js"></script>
</head>
<body>
<div class="controls-group">
<div class="controls">
<script type="text/javascript">
$(".example-basic-multiple").select2();
<select class="example-basic-multiple" multiple="multiple">
<option value="AL">Alabama</option>
<option value="WY">Wyoming</option>
</select>
</script>
</div>
</div>
</body>
</html>