in reply to (jeffa) Re: <input type="button"> does not generate parameter=>value pair
in thread <input type="button"> does not generate parameter=>value pair
Now I need to enter some value into it and press 'Enter'. That way I will get 'button1' in param() - and I need 'button2' instead. I suppose it is due the fact that button1 has tabindex lower than button2... Is there a way to specify tabindex?#!/usr/bin/perl -T use strict; use warnings; use CGI qw(:standard); print header, start_html; print ("Submitted:", param(), hr) if param(); print start_form, textfield('text1'), br, submit('button1'), submit('button2'), end_form, end_html ;
By the way, when I pressed 'reply' I saw a button at the top of the screen - looks like my question title was parsed as HTML.
--dda
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) 3Re: <input type="button"> does not generate parameter=>value pair
by jeffa (Bishop) on Jul 16, 2003 at 06:28 UTC | |
by dda (Friar) on Jul 16, 2003 at 08:09 UTC |