单项选择题
A.parseInt("19",10);//返回19B.parseInt("11",2);//返回3C.parseInt("1f",16);//返回16D.parseInt("010");//未定:返回10或8
下面JavaScript语句中,能实现使按钮对象(变量名为btn)的背景图片发生改变的是()A.btn.sty...
单项选择题下面JavaScript语句中,能实现使按钮对象(变量名为btn)的背景图片发生改变的是()
A.btn.style.background-image ="url(新图片地址)"B.btn.style.backgroundImage ="url(新图片地址)"C.btn.style.background ="src(新图片地址)"D.btn.backgroundImage ="url(新图片地址)"
在JavaScript中创建函数的方法有()A.function:myFunction()B.function...
多项选择题在JavaScript中创建函数的方法有()
A.function:myFunction()B.function myFunction()C.function=myFunction()D.myFunction=function()
在JavaScript中,变量mydiv表示网页中一个DIV元素,下面语句中可以设置该元素内文本内容为“hel...
单项选择题在JavaScript中,变量mydiv表示网页中一个DIV元素,下面语句中可以设置该元素内文本内容为“hello world”的是()
A.mydiv.innerHtml="hello world "B.mydiv.text ="hello world "C.mydiv.innerHTML="hello world "D.mydiv.innerHTML("hello world ")