Skip to main content

Posts

Showing posts with the label Auto Arabic Input

Automatically change input mode in to Arabic

Dear All, Today i found a good solution if you have a form and you want to automatically change the input mode in to arabic then here is a sample code: Copy the following script <script type="text/javascript"> //<![CDATA[ function TextLanguageAr(e, input) { var unicode = e.which;         switch (unicode) {             case 192: input.value += 'ذ';   return false; break;                case 81: input.value += 'ض';   return false; break;                case 87: input.value += 'ص';   return false; break;                   case 69: input.value += 'ث';   return false; break;                   case 82: input.value += 'ق';   return false; break;                   case 84: if (Shift_Key...