jQuery-Mask-Plugin
jQuery-Mask-Plugin copied to clipboard
JSP object with attribute value 0 display problem
I have the following HTML input element which value is 0 and is retrieved from a JAVA JSP object (a jQuery mask is applied cause it's an amount with thousand separators):
<input class="form-control" name="inputname" type="text" value="<%=obj.getProperty()%>"
size="15" maxlength="15" data-mask="#.##0">
As soon as I click on the input field, I get [object Object] displayed in it and the following error:

Tengo el siguiente elemento de entrada HTML cuyo valor es 0 y se recupera de un objeto JAV JAVA (se aplica una máscara jQuery porque es una cantidad con miles de separadores):
<input class="form-control" name="inputname" type="text" value="<%=obj.getProperty()%>"
size="15" maxlength="15" data-mask="#.##0">
Tan pronto como hago clic en el campo de entrada, [object Object]aparece en él y aparece el siguiente error:
