Click to See Complete Forum and Search --> : Anchor tag or onjSubmit, setFocus()?


ssurmi
05-07-2003, 05:28 PM
Hi,

I have a submit button which after pressed, goes to the top of the page. I want it to stay on the same place on the web page. Is it possible to do?

Here is the code:
echo "<form action='Process.htm?sPId=10&x=".microtime()."' method=post >
<td align=center valign=middle><font size=-1>
<input type=submit name=submit value='Completed'>
<input type=hidden name=sCompleted value='".$x."::".$sReportDataId."'>
</font>
</td>
</form>";

Any help will be appreciated.

Thanks in advance!

z_mirza
05-07-2003, 06:31 PM
set the focus