Kendo Input Currency
Gambar input |
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 29 30 | <html> <head> </title> KENDO TEXTBOX CURENCY </title> <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2020.2.513/styles/kendo.default-v2.min.css"/> <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script> <script src="https://kendo.cdn.telerik.com/2020.2.513/js/kendo.all.min.js"></script> <script> $(document).ready(function(){ $("#txt-nominal").kendoNumericTextBox({ format: "n" }); }) </script> </head> <body> <div class="form-group row"> <label class="col-sm-4 col-form-label">Nominal</label> <div class="col-sm-8"> <input id="txt-nominal" value="0"/> </div> </div> </body> </html> |
kemudian sesuaikan id txt-nominal dengan yang ada di script jquery nya.
0 Komentar