Click to See Complete Forum and Search --> : Bug in IE6?
JoshT
Apr 8th, 2002, 12:48 PM
Should not the following cause "AddNew=AddNew" to be added to the query string, not "AddNew=Add"? Mozilla and Opera get it right...
<button type="submit" style="margin-right: 20px;" name="AddNew" value="AddNew">Add</button>
scoutt
Apr 8th, 2002, 04:14 PM
just might be
** In Internet Explorer 4.0, submitting a form would only submit the 'innerText' content of the BUTTON (the text content of the element.)
** In Internet Explorer 5.0, submitting a form submits the contents of the VALUE attribute of the BUTTON if it is present. If it is not, the 'innerText' content of the BUTTON is submitted instead.
** In Opera 4.0, CSS attributes (%core%) and event handler attributes (%events%) are honored for this element, but none of the other attributes appear to have any effect at all.
also
push buttons: Push buttons have no default behavior. Each push button may have client-side scripts associated with the element's event attributes. When an event occurs (e.g., the user presses the button, releases it, etc.), the associated script is triggered.
Authors should specify the scripting language of a push button script through a default script declaration (http://www.w3.org/TR/REC-html40/interact/scripts.html#default-script) (with the META (http://www.w3.org/TR/REC-html40/struct/global.html#edef-META) element).
JoshT
Apr 9th, 2002, 11:06 AM
???
As it works in Mozilla and Opera, and the W3C seems to confirm my code, I'm convinced IE has a broken implementation.:(
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.