IE7 Compatibility a Developer Nightmare
yavori writes "Internet Explorer 7 has kicked in at last on all MS Windows OS running PCs because of the fact M$ decided to force it's users to migrate through update. In fact this has started a IE7 Web Developers Nightmare. The article actually explains that most of the small company B2C sites may just fall from grace because of IE7 incompatibility. One of the coolest thing IE7 is unable to do is actually processing form data when clicked on an INPUT field of TYPE IMG... which is pretty uncool for those using entire payment processes with such INPUT fields."
The developer could use a bit of javascript to hide the submit button, show the wanted image. Then an OnClick event on the image submits the form as per usual. This way it'll also degrade properly when javascript is disabled, seeing as the non-image submit is defaulted to.
Indeed!
This is just fucking ridiculous. This little rant is not only incoherent, but it's 100% wrong. See for yourself.
Jesus, do Slashdot editors actually *do* anything? Seriously. Do any of them actually *read* the articles they're posting, or is it all about pageviews and keywords?
IE does not submit the value attribute of an image input. This makes it a bit difficult to have multiple buttons in the same form with the same name attribute. This means that each image input must have a unique name in order to tell them apart on the server.
Further reading ath tml
w w.authoring.cgi/browse_thread/thread/aca99089127ac f0f?rnum=1
http://www.cs.tut.fi/~jkorpela/forms/imagebutton.
http://groups.google.com/group/comp.infosystems.w