Im workin on a web application , and I have a form on which I have a textbox that users
must fill it using arabic language.
how can I control it using javascript ?
Changing the default language of the operting system to arabic will solve my problem.
How can i change the default language to arabic using javascript ???
and is it the best approch to do it??
Is their another method ?
Refer to this question and it will solve your problem pal Arabic text box
EDIT: Change the code to this
$().ready(function () {
$("input#NameTextBox").attr("lang", "fa");
});
a better solution may be:
Farsi type java script code
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With