0
I’m using replace, but when I pass the number 1 or 12 to it from the error. For example :
$(this).data('qtde').replace(/\./g, "")
Passing the value 1.223.44 works, when step 1 of the following error:
Uncaught Typeerror: $(...). data(...). replace is not a Function at Htmltablerowelement. (Elaborate.js?v=08022018:792) at Function.each (jquery-3.2.1.js:362) at jQuery.fn.init.each (jquery-3.2.1.js:157) at Htmlinputelement.write (Elaborar.js?v=08022018:782) at Htmlinputelement.Dispatch (jquery-3.2.1.js:5206) at Htmlinputelement.elemData.Handle (jquery-3.2.1.js:5014)
Which error displayed?
– Anderson Pimentel
Uncaught Typeerror: $(...). data(...). replace is not a Function at Htmltablerowelement.<Anonymous> (Elaborate.js? v=08022018:792) at Function.each (jquery-3.2.1.js:362) at jQuery.fn.init.each (jquery-3.2.1.js:157) at Htmlinputelement.write (Elaborate.js? v=08022018:782) at Htmlinputelement.Dispatch (jquery-3.2.1.js:5206) at Htmlinputelement.elemData.Handle (jquery-3.2.1.js:5014)
– Anderson Apdo de Souza