Click to See Complete Forum and Search --> : setting focus after submission


ssurmi
05-10-2003, 08:30 AM
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>";

Can anyone give me an example ?

Thanks in advance!

khalidali63
05-10-2003, 09:43 AM
Dave post a really neat trick yesterday for the same topic...search the threads on the forum,you may find it..:-)
If not then I can probably try to immitate the functionality.
:D

Charles
05-10-2003, 12:09 PM
We need to start collecting the good ones and the stock answers.