Set focus to page top on editor load
Question:
Is there any way of focusing the cursor back to the top of the page after the editor loads.
Enter the following script block inside the HEAD tag:
Is there any way of focusing the cursor back to the top of the page after the editor loads.
Answer:
Enter the following script block inside the HEAD tag:
<script language="JavaScript">window.attachEvent("onload", function() {if (checkBrowser) {dmxedit_focus(document.getElementById('_editor1_editor'));}} )
the editor1 is the name of your advanced html textarea that you want to put the focus to
Comments
Be the first to write a comment
You must me logged in to write a comment.