Posted by Jerry Stuckle on 12/04/07 14:27
jodleren wrote:
> Hi
>
> Say, I have a form.
>
> Both cancel and save (in that order) are submits, then in the code I
> check which button was pressed.
> The point is that I want the save button (2nd) to be default, not the
> cancel.
>
> Is there a way (in js?) to "focus" the other button?
>
> One other way to be some simple js, which submits the page anyway...
>
> WBR
> Sonnich
>
Try a JS newsgroup. This one is for PHP - which can't do it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|