Set Focus after page submits (refreshes)
I have two list menus&.category and subcategory.
Once the user selects a Category the Subcategory menu is popluated from a database. Since the page submits to itself on the refresh the form/page scrolls to the top and I want the Focus to be on the next selection menu Subcategory which is at the bottom of the page.
<SELECT NAME="Category" onChange="SubmitCategory()" class="copy">
var objForm = document.forms;
objForm.elements['SubCategory'].selectedIndex = 0;