Jeff Schmitz wrote:
I was close, but I was actually using button tags, e.g.

<button type="submit" name="ManageUsers" id="ManageUsers" value="Manage User Accounts">Manage User Accounts</button>

but I wasn't setting the value attribute since what shows on the button is whatever is between the tags. By adding the value attribute it now works.


Beware that Internet Explorer has a very buggy implementation of the button element. When the form is submitted, it sends the name=value pairs of *all* button elements in the form, rather than just the one that was clicked. This is a real pain when trying, as you are, to determine which button was used to submit the form. Also, depending on the version of IE and whether your document triggers standards or quirks mode, the innerText of the element may be used rather than the value attribute.

See the community comments at http://msdn.microsoft.com/en-us/library/ms535211(VS.85).aspx or search around for "ie button" and the like.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to