function - How to replace numbers in a class to some chars in jquery? -
this question has answer here:
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
Post a Comment