Skip to main content Help Control Panel

Login   A+   A-

Development «   Development blog «  

Comments and IE6

You were not able to post comments, now this has been fixed.
We have changed recently the way buttons are implemented in YACS. The aim of this change was to ease the job of web designers to achieve perfect rendering through CSS. However, this has also uncovered a tricky bug of Internet Explorer version 6, by which users are not able to comment a page at a YACS server.

The origin of the bug is that IE6 poorly implements the <button> tag. More exactly, when it encounters two of these tags in a web form, it submits both to the server, whichever has been actually clicked. This behaviour diverges from standard specification, of course. Moreover, it falsely leads YACS to comment preview instead of actual posting.

This bug only impacts the commenting form, since this is the only one that features two buttons.

Users of Internet Explorer 7 and Firefox 2 do not suffer from this bug.

The solution has been to step back for the second button featured in the commenting form. More precisely, the submit button is based on a <button> tag, where the preview button is a legacy <input type="submit"> tag. This has been implemented in yacs 7.4beta30.

Rate this page
Posted by Bernard on May 1 2007, (popular)