I have a simple html textarea, the body has an RTL style, and therefore textarea inherits the style from the body. Therefore, the problem is as follows.
Problem: I need to display the following text in the text area using $ ("# myTextArea"). Val ("text from ajax result comes here").
The text is as follows
پاکستان کا کل رقبہ 796096-0-0 مربع کلو میٹرز ہے۔
and the rest of the text is similar and takes several lines. Now the number in the text of Urdu is 796096-0-0, but it displays the opposite. There are several such numbers in the text. Please tell me so that I can display the numbers as LTR and the rest of the text as RTL, as usual.
Thank.
source
share