Using the code
When we type any button in keyboard, the corresponding Arabic character will replace it.
Add yasArabic.js inside
<head> </head> for running this application. The main thing is the ID of the textbox must be entered inside the
arabicValue() function on attribute
onKeyup. So we can add multiple Arabic textboxes in the same page.
<input type="text" onkeyup="arabicValue(text1)" dir="rtl" id="text1" />