如何设置默认空白kendo ui数字文本框

时间:2014-06-05 07:02:03

标签: javascript jquery kendo-ui

我想设置kendo ui数字文本框,默认为空白

<script>
    $("#ProductModel_CostFrom").kendoNumericTextBox({
        min: 0,
    });
    $(document).ready(function () {
        $("#ProductModel_CostFrom").kendoNumericTextBox({
            min: 0,
        });
    });
</script>

但默认情况下它需要0.00值  所以请给我解决方案 如何设置默认空白kendo ui数字文本框

1 个答案:

答案 0 :(得分:0)

<script>
   $("#ProductModel_CostFrom").kendoNumericTextBox({
        min: 0,
        value: " ",
    });
   $(document).ready(function () {

      $("#ProductModel_CostFrom").kendoNumericTextBox({
           min: 0,
           value: " ",
       });
    });

 </script> 
相关问题