開き括弧と閉じ括弧を持つコードを持つことの背後にあるポイントまたは意味は何ですか?
私が見ているサンプルコードは次のとおりです。
<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();
開き括弧と閉じ括弧を使用する意味は何()
ですか?