Re: setting form parameter with same name as submit buttons



Steven Bethard wrote:
On Aug 16, 12:56 am, Thomas 'PointedEars' Lahn <PointedE...@xxxxxx>
wrote:
Steven Bethard wrote:
On Jul 8, 3:09 am, "David Mark" <dm...@xxxxxxxxxxx> wrote:
You don't need script for this at all.
<form action="label/" name="label_form" method="post">
<input type="submit" name="label" value="BEFORE" accesskey="b" />
<input type="submit" name="label" value="OVERLAP" accesskey="o" />
<input type="submit" name="label" value="AFTER" accesskey="a" />
</form>
But that doesn't make the "b", "o" and "a" keys work. That makes CTRL
+ALT+B, CTRL+ALT+O and CTRL+ALT+A work.
Because these shortcuts are not reserved (in Firefox) for other operations.

You see?

No, not really. Are you saying that there's something else I can do
to get "b" all alone to work? Or are you maybe saying that there's
nothing I can do to make that work?

I am confident you can do something to make that work in Firefox. But I am
not particularly inclined to invest my free time to help you breaking the
UAs of your users. Because that would be the inevitable outcome of your
efforts.


PointedEars
--
"Use any version of Microsoft Frontpage to create your site. (This won't
prevent people from viewing your source, but no one will want to steal it.)"
-- from <http://www.vortex-webdesign.com/help/hidesource.htm>
.


Loading