[Javascript] Re: (OT) IE support for input type="image" / a possible workaround of sorts

Mike Dougherty mdougherty at pbp.com
Tue Jun 8 12:39:59 CDT 2004


Before the web became [practically] dependant on client-side javascript to make forms work..
You can put two buttons on the form, both of which are type='submit' but have different values. 
 If they are identically named, you could check 'value' server-side to determine which button was 
clicked.  At this point, you could probably do the same with clickable 'button-inspired' images, 
and a hidden form field.

The reason I asked <input type="image" ..> is because the submit "button" concept has become so 
in-grained that to challenge it requires (too many) extra contextual clues for the user.

>What I was referring to was the original post, which I mis-read.  I was
>under the impression
>that the OP was having problems in all browsers, not just IE.
>
>Just asking a question.  I guess IE is just an evil villain.

Sadly, most 'consumers' aren't even aware there is a choice.  During the course of a support call, 
i've asked people to open their browser - and the reply is, "What's a browser?"  me:  Uh..ok - 
"Open the internet" them:  "Oh, click on the little 'e'...



More information about the Javascript mailing list