如何更改Web应用程序的文本框中输入语言 [英] how to change textbox input language in web application

查看:147
本文介绍了如何更改Web应用程序的文本框中输入语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

林干活的Web应用程序,和我有,我有一个文本框,用户
必须使用阿拉伯语。结果
使用JavaScript怎么能控制我填充表单<? BR>
更改operting系统阿拉伯语的默认语言将解决我的问题。结果
如何更改默认语言为阿拉伯语使用javascript ??? < BR>
,是它做它最好的计算策略??结果
是他们的另一种方法是什么?

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 ?

推荐答案

请参考这个问题,它会解决你的问题PAL
阿拉伯文文本框中

Refer to this question and it will solve your problem pal arabic text box

编辑:
更改代码,这个

Change the code to this

$().ready(function () {
    $("input#NameTextBox").attr("lang", "fa");
});

这篇关于如何更改Web应用程序的文本框中输入语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆