【多选题】
在javascript中,下面代码表示获取文本框的值,则下列选项中验证文本框为空的条件表达式不正确的是()var userName=document.getElementById(txtName).value;(选择二项)
【多选题】
阅读下面的HTML代码,则下列选项中增加的样式可以使两个DIV不在同一行显示的有(????)style?type=text/css? div?{?float:right;?}?/style
?......? div?class=box1/div? div?class=box2/div
?......
【单选题】
在JavaScript中,下列表示返回函数运行结果的语句是( )。
②
document.write(number);
【单选题】
下列选项中,Javascript声明变量语句中不正确的是(D)
④
var ff=3, gg= he s good
【单选题】
在JavaScript中()方法可以对数组元素进行排序。
【单选题】
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.
【判断题】
JavaScript不声明变量的数据类型,变量可直接使用。
【单选题】
以下不属于javascript中提供的常用数据类型的是:( )
【单选题】
在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对象的方法是( )。(选择一项)