onblur()
本体のイベントで起動する Java スクリプト関数があります。
function start() {
var el = document.getElementById('divWarning');
el.style.visibility = "visible";
}
起動:
<body onblur="start()">
どのページでも問題なく動いています。私がCKEditorを含めたものを除いて。
<CKEditor:CKEditorControl ID="txtDescriptiveAnswer" runat="server" Width="75%" UIColor="#54b2ff" BorderColor="#007cdf" BorderWidth="2px" Toolbar="Source|-|Preview
Bold|Italic|Underline|Strike|-|Subscript|Superscript
JustifyLeft|JustifyCenter|JustifyRight|JustifyBlock
NumberedList|BulletedList|-|Outdent|Indent|Blockquote|Styles|Format|Font|FontSize|TextColor|BGColor|Maximize" BasePath="../ckeditor">
</CKEditor:CKEditorControl>
CKeditor をクリックして何かを書くたびに、onblur イベントが発生します。CkEditor には IFrame があることを知っていますが、これが問題を引き起こしていると思います。しかし、CkEditorのみのblurイベントをスキップする方法がわかりません。
助けてください。
ありがとう。