- First download persianumber.min.js file.
- Add This file to head section of document after jQuery library.
- In .ready() event for document use this syntax: $('.persianumber').persiaNumber();
- For each element that you want convert numbers to persian use "persianumber" html class.
For more information visit this link.