JSFiddle - React, Tailwind, and code Playground
by gabriela b
HTML
<script src="http://harvesthq.github.io/chosen/chosen.jquery.js"></script>
<link rel="stylesheet" href="http://harvesthq.github.io/chosen/chosen.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js"></script>
<script>
function angular_Controller($scope){
$(document).ready(function(){
document.getElementById('chosen-id').value = 'default';
$(".chosen-select").chosen();
$("#chosen-id").chosen().change(function(){
});
});
}
</script>
<body ng-app>
<div ng-controller="angular_Controller" class="formDiv">
<form ng-submit="Show_Selected_Number()" method="post">
<select chosen multiple="true" id="chosen-id" ng-model="t">
<option value="default">default</option>
<option value="AK">default</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
</select>
<button type="submit">submit</button>
</form>
</div>
</body>