I have a row of buttons at the top of a form. Depending on which one 
clicked, a different action needs to be performed. IE is giving me a fit.

<button name="sub1"
          type="submit"
          id="sub1"
          value="1">
    General Information
   </button>

In IE, the passed value is "General Information".
In Firefox, the passed value is "1".

In Firefox, I can name ALL the buttons the same thing with different 
values defined (value="1", value="2"), and the correct values are passed 
and correct processing gets done.

In Explorer, if I name all the same thing, ALL values between the button 
tags gets passed as a list when I click any one of them.

I've never run into this situation/problem before. What would you 
consider the best way to get equal behavior across the two browsers?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264655
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to