没有搜到到结果?点击这里求解答/求资源。
【多选题】
javascript中,下面代码表示获取文本框值,则下列选项中验证文本框为空条件表达式不正确()var userName=document.getElementById(txtName).value;(选择二项)

userName==
userName.length(=0)
userName.length(0)
userName.length=
【多选题】
阅读下面的HTML代码,则下列选项中增加样式可以使个DIV不在同一显示有(????)style?type=text/css? div?{?float:right;?}?/style ?......? div?class=box1/div? div?class=box2/div ?......

.box2{clear:left;}
.box2{clear:both;}
.box1{clear:right;}
.box2{clear:right;}
【单选题】
JavaScript中,下列表示返回函数运行结果语句( )。

retum;
document.write(number);
alert(number);
retum number;
【单选题】
下列选项中,Javascript声明变量语句中不正确(D)

var aa;
var bb=3; cc=good
var dd = ee = 100;
var ff=3, gg= he s good
【单选题】
JavaScript中()方法可以对数组元素进行排序。

add()
join()
sort()
length()
【单选题】
In language studies, linguists may investigate the history and stages of language change in a course of time. This is called _______ approach.It is historical lexicology.

synchronic
descriptive
diachronic
general
【判断题】
JavaScript不声明变量数据类型,变量可直接使用。

正确
错误
【单选题】
以下不属于javascript中提供常用数据类型:( )

undefined
null
number
iterator
【单选题】
在HTML页面上包含如下所示页面代码, 要求编写JavaScript语句清空下拉选择框country选项内容, 则选项中语句正确( )。 中国 美国

document.form1.country.options.size=0;
document.form1.country.options.length=0;
document.form1.country.options.value=;
document.form1.country.value=;
【单选题】
JavaScript中,以下选项不是location对象方法( )。(选择一项)

indexOf( )
reload( )
assign(url)
replace(url)