Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140101

How to dynamically print the raw value of the input with AutoNumeric js?

$
0
0

I need your help on AutoNumeric js.

I use input and span this way:

<input type="text" name="currency" id="currency">
<span class="value_currency"></span>

I'm using AutoNumeric in javascript like this:

new AutoNumeric('#currency', 'Turkish');

And output as follows:

1.750,15

I need this:

1750.15

My question is, how do I dynamically print in value_currency when the data in the currency changes. But I need raw values not formatted value. Thank you.


Viewing all articles
Browse latest Browse all 140101

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>