forked from javiertoledo/bootstrap-rating-input
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
28 lines (27 loc) · 966 Bytes
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
<head>
<title>Bootstrap Rating Input Demo</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<!--script src="src/bootstrap-rating-input.js"></script-->
<script src="build/bootstrap-rating-input.min.js"></script>
<style>
body {
font-size: 20px;
padding: 50px;
}
</style>
<script>
$(function(){
$('input').on('change', function(){
alert("Changed: " + $(this).val())
});
});
</script>
</head>
<body>
<h1>The Bootstrap Rating Input <small>in action...</small></h1>
<p>My rating: <input type="number" name="your_awesome_parameter" id="some_id" class="rating" data-clearable="remove"/></p>
</body>
</html>