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

4x4 Matrix in Python -

python - String indices must be integers and while issue -

python - PyInstaller UAC not working in onefile mode -