JQuery price format no value / null to number 0

I am using JQuery pricing format for a textbox. Then when the text box defaults to "0". I don’t want to see 0 as a number, I don’t want the value to be a value. How can i do this? Please help me. Thank.

Here is the JQuery price format: http://jquerypriceformat.com/

+3


source to share


1 answer


you can use like:

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

      



and DEMO

+3


source







All Articles