Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/bash/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 无值/空到数字0的JQuery价格格式_Javascript_Jquery_Html_Input - Fatal编程技术网

Javascript 无值/空到数字0的JQuery价格格式

Javascript 无值/空到数字0的JQuery价格格式,javascript,jquery,html,input,Javascript,Jquery,Html,Input,我对文本字段使用Jquery价格格式。然后,当文本字段默认显示“0”时。我不想看到0的数字,我想没有价值就是没有价值。我该怎么做?请帮帮我。多谢各位 以下是Jquery价格格式:您可以像这样使用: $('#example5').priceFormat({ ..... clearOnEmpty: true //set this line will be ok }); 和哪个JQuery价格格式插件?

我对文本字段使用Jquery价格格式。然后,当文本字段默认显示“0”时。我不想看到0的数字,我想没有价值就是没有价值。我该怎么做?请帮帮我。多谢各位

以下是Jquery价格格式:

您可以像这样使用:

$('#example5').priceFormat({
  .....
  clearOnEmpty: true  //set this line will be ok
});

哪个JQuery价格格式插件?