I'm using the replace, but when I pass the number 1 or 12 to it the error.
For example:
$(this).data('qtde').replace(/\./g, "")
Passing the value 1,223,44 works, when step 1 gives the following error:
Uncaught TypeError: $ (...).
HT...
asked by
08.02.2018 / 19:58