removed unneeded file
This commit is contained in:
parent
76b503e3e5
commit
7dee473414
@ -1,28 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
|
|
||||||
<link href="select2.css" rel="stylesheet"/>
|
|
||||||
<script type="text/javascript" src="select2.js"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<select id="s1">
|
|
||||||
<option value="A"></option>
|
|
||||||
<option value="B"></option>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
$(document).ready(function () {
|
|
||||||
$("#s1").select2({}).on("change", function () {
|
|
||||||
alert("Changed caused by val()");
|
|
||||||
}).select2("val", "A");
|
|
||||||
|
|
||||||
// This should not trigger a change
|
|
||||||
$("#s1").select2("val", "B", false);
|
|
||||||
});
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
Loading…
x
Reference in New Issue
Block a user