具有打开和关闭括号的代码背后的意义或意义是什么?
这是我正在查看的示例代码:
<input style="background-color:#bfdfff" name="fn" type="text" id="kfn"
size="55" maxlength="55" onfocus=
"this.select();
if (this.value==''){
this.style.background='#00CCCC';
}
else
{
this.style.background='#99CCFF';
}
" />
我很好奇的线路在这里:
this.select();
使用左括号和右括号是什么意思()
?