how to change textbox input language in web application

c#, html, javascript

Solution

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");
});

Problem

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 ?

Original source

Related problems