function - How to replace numbers in a class to some chars in jquery? -


i want create function replace english digits exist in class named i.e. ".fadigits" farsi digits jquery. example:

1 ۱ 2 ۲ 3 ۳ 4 ۴ 5 ۵ 6 ۶ 7 ۷ 8 ۸ 9 ۹ 0 ۰ 

so can set script change numbers.

<script>     $(document).ready(function(){         $('.fadigits').persiannumbers();         }); </script> 

any help? thank you.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -