Can't find anything about this in forum,
I do a validation of my form - it works.
If validation fails (the form is empty) I want focus to return to the edit window.
I thought document.fHtmlEditor.fckeditor1.focus(); would work, but no luck of course because it is a hidden element - it ends up with nowhere specific on the page.
Here's teh source code to give element names
Any suggestions?
Thanks in advance
I do a validation of my form - it works.
If validation fails (the form is empty) I want focus to return to the edit window.
I thought document.fHtmlEditor.fckeditor1.focus(); would work, but no luck of course because it is a hidden element - it ends up with nowhere specific on the page.
Here's teh source code to give element names
<input type="hidden" id="fckeditor1" name="fckeditor1" value="" style="display:none" /> <input type="hidden" id="fckeditor1___Config" value="" style="display:none" /> <iframe id="fckeditor1___Frame" src="/fckeditor/editor/fckeditor.html?InstanceName=fckeditor1&Toolbar=standard" width="580" height="260" frameborder="0" scrolling="no"></iframe>
Any suggestions?
Thanks in advance