Don’t press that BUTTON

After going into a demo blind last week (bad idea!) and having our application fail on the demo laptop (big surprise!), I had to figure out why our application completely refused to work using Internet Explorer 6.  Turns out that IE 6 is totally flummoxed by the HTML <button> tag.  If you have more than one a page, IE submits all the buttons - so in our case, the last one was winning.

I had forced Apache Beehive to display all the buttons using the <button> tag so I could take advantage of setting a global style.  Obviously that was now out of the question.  I had to switch back to using <input type=”button”> tags (by removing the Beehive attibute renderAsButton=”true”) and apply a style to each of them.  Crisis averted, but only after an embarassing incident in front of the customer.

P.S. The problem is resolved in IE7 - where we’d been doing all of our IE testing.

One Response to “Don’t press that BUTTON

  • 1
    zynga facebook
    March 20th, 2010 02:28

    i wouldn’t have imagined this was excellent a number years ago yet somehow it is funny how years varies the way you experience distinct concepts, thank you regarding the write-up it happens to be good to see something smart occasionally instead of the popular crap mascarading as blogs on the net, i’m off to enjoy a couple of hands of zynga poker, regards

Leave a Reply