imathis / fancy-buttons

Fancy CSS Buttons using Compass
http://brandonmathis.com/projects/fancy-buttons/
819 stars 55 forks source link

Adding readonly to the disabled styles… #30

Open mikesten opened 12 years ago

mikesten commented 12 years ago

Use case: I have a form. When the user clicks on a (fancy) submit it gets a disabled attribute. Now the button's value doesn't get submitted and the server has no way of knowing which button the user clicked. More useful is setting the button to readonly, which avoids multiple form submissions but still sends its value.