This may be such a basic problem with a very simple solution, BUT I can't come up with it. I have a data entry form. On processing of a button with the value "Next" I want to reload the same page, load the next picture in the gallery, give focus to the "next" button, and transfer to an anchor that's located right where the form is.
Code:
<form name="getdata" method="post" action="showGallery.asp#page_top">
<a name="page_top"></a>
Also: <BODY onLoad="document.getdata.next.focus ();">
The problem is: Transfer is made to the anchor, but the "next" button doesn't get the focus.
Shouldn't the onLoad event occur when you are loading a page and transferring to an anchor?
Thanks in advance,
Jerry Scannell
Code:
<form name="getdata" method="post" action="showGallery.asp#page_top">
<a name="page_top"></a>
Also: <BODY onLoad="document.getdata.next.focus ();">
The problem is: Transfer is made to the anchor, but the "next" button doesn't get the focus.
Shouldn't the onLoad event occur when you are loading a page and transferring to an anchor?
Thanks in advance,
Jerry Scannell