On 2004-07-02 at 16:32:23 +0300, Emmanouil Batsis wrote: > > Now that I think of it, IE may think that the img is the new value, > meaning that it overrides the 'initial value' (per HTML4 spec). Hm as far as I understood the html 4.0 buttons they are there for making the submitted value independent of the representation. Doesn't make to much sense to me, why it should override the 'initial value'.
<snip source="http://www.w3.org/TR/html4/interact/forms.html#edef-BUTTON"> value CDATA #IMPLIED -- sent to server when submitted -- </snip> > Maybe > "backgrounding" the image will help? Don't quite understand your suggestion, I'm afraid. Maybe you could provide a mini-example? aaargh. Just found another problem. Seems that the IE is so clever that if there are multiple buttons of the same name he just submits the first button of the name, regardless of which of them had been clicked. Ok, I think I'll just forget about LookupDispatchAction and HTML 4.0 > > Manos thanks a lot, Axel > > Emmanouil Batsis wrote: > > >Axel Groß wrote: > > > >>Hi everybody! > >> > >>Maybe someone tried to go along with html 4.0 buttons. > >>this is really strange. > >>since IE 5.0 <button type="submit" .. > buttons should send the > >>contents of > >>the value attribute, if it exists; not the body contents. > > > > > >True, per spec. > > > ><snip/> > > > >Try changing the name of the button. Personally, I haven't tried to use > > this feature but I've seen naming-related bugs before. If that fails > >and you are trying to figure out which button submitted the form, you'll > >have to use event listeners and scripting to set a hidden field or > >something. Not that I'm telling you anything you dont know but it may > >help some future googling. > > > >hth, > > > >Manos > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]