我们的产品都支持多国语言,
unicode,不知你是要实现啥
unicode,不知你是要实现啥
解决方案 »
- 关于js 获取页面元素的绝对坐标的问题
- 请问,如何获取js动态添加元素后动态添加的html代码
- <jsp:include page=""></jsp:include>问题
- 一个select 和 input 配合 javascript 写法。。。。
- 要怎样我的积分才能很快提升啊?
- 如何在网页右下角弹出信息提示
- 关于javascript类的一个问题
- 关于用window.open打开不同类型的东西
- 谁能帮我把这些vbs函数翻译成jscript的方法或函数?
- jquery中判断长度,我的代码如下
- 求助: 如何用js判断全角字符、半角字符? 100分,急!!!
- window.open函数能不能使新打开窗口覆盖原窗口而不是另开窗口?
如:
中国台北
实际是汉字:中国台北
如何在读到页面是用脚本操作显示"中国台北"
直接放在页面里就行了document.write("中国台北");
这样写诗没问题的
但是我象把这个值通过javascript脚本写到<select><option></option></select>中
这样显示的还是乱码
原理,选择一个表单,另一个表单变化var get_templat=form1.et_list //temp_list
var get_select=form1.select_list //select list
var array_country=new Array()
array_country[0]=new Array()
array_country[0][0]=new Option('','Select Template')
array_country[0][1]=new Option('8','秋水共长天一色')
array_country[0][2]=new Option('9','222')
array_country[0][3]=new Option('15','summer test')
array_country[1]=new Array()
array_country[1][0]=new Option('','Select Template')
array_country[1][1]=new Option('1','summerok')
array_country[1][2]=new Option('13','canndy')
array_country[2]=new Array()
array_country[2][0]=new Option('','Select Template')
array_country[2][1]=new Option('11','123')
array_country[3]=new Array()
array_country[3][0]=new Option('','Select Template')
array_country[3][1]=new Option('10','sedf')
array_country[4]=new Array()
array_country[4][0]=new Option('','Select Template')
array_country[4][1]=new Option('12','北京華緯')
array_country[6]=new Array()
array_country[6][0]=new Option('','Select Template')
array_country[6][1]=new Option('14','英格兰')
array_country[7]=new Array()
array_country[7][0]=new Option('','Select Template')
//Change template with Country
function change_templat(myselect)
{
get_value=myselect.value
if(get_value!="")
{
get_templat.length=0
for(i=0;i<array_country[get_value].length;i++)
{
get_templat.options[i]=new Option(array_country[get_value][i].value,array_country[get_value][i].text)
}
}
}
var sTmp = document.all.oTmp.outerText;
window.alert(sTmp);