以下哪段代码是获取控件内文本的颜色()。
A、var color = aa.style.color
B、aa.style.color = ‘blue’
C、var width = aa.borderWidth
D、var style = aa.style.borderBottomStyle
A、var color = aa.style.color
B、aa.style.color = ‘blue’
C、var width = aa.borderWidth
D、var style = aa.style.borderBottomStyle
A、A.语法错误 B、B.这段代码是获得div1标签对象 C、C.这段代码是获得div1标签内的HTML文本 D、D.这段代码是获得div1标签包含div1标签在内的HTML文本
A、在自定义控件代码中为Login按钮增加事件处理代码。 B、在自定义控件所在的Web窗体代码中为Login按钮增加事件处理代码。 C、在自定义控件所在的Web窗体的Page_Load方法中增加代码段去设置TextBox和Button控件的可见性。 D、在自定义控件的Page_Load方法中增加代码段去设置TextBox和Button控件的可见性。
A、A.shortmyshort=99S; B、B.Stringname=’ExcellenttutorialMrGreen’; C、C.charc=17c; D、D.intz=015;
A、function show(text){ alert(text); } B、var showFun = function show(text){ alert(text); } C、var showFun = function(text){ alert(text); } D、var showFun =new function("text" , "alert(text)"};