本文介绍了如何更改语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<html lang="en">
<head>
<title> . . . </title>
</head>
<body>
<form action="demo_form.asp" method="get">

<input list="language" name="language">
<datalist id="language">
  <option value="Abkhazian">
  <option value="Afar">
  <option value="Afrikaans">
  <option value="Amharic">
  <option value="Arabic">
</datalist>
<input type="button" name="Go">
<pre>
The language is changed..Keep Enjoying..
</pre>
</form>
</body>
</html>

the sample language codes are given below

Abkhazian   ab
Afar        aa
Afrikaans   af
Albanian    sq
Amharic     am
Arabic      ar

Now what I need is to change the language by the client at runtime.While selecting the language from the list...

推荐答案


这篇关于如何更改语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 03:22