in valid xhtml, you should be using disabled="disabled"
On Thu, Feb 5, 2009 at 5:20 PM, Tolomaüs <[email protected]>wrote: > > Hi, > > Any idea how I can add a disabled attribute on an input of type submit > by using the FormHelper method? > > Before I migrated from the official build to the "MvcContrib" build > (1.0.3.5306) this line used to work correctly: > > $Form.Submit("Save","%{id='saveButton' class='button' disabled}") > > Now it doesn't anymore, instead, I have to do something like this: > > $Form.Submit("Save","%{id='saveButton' class='button' disabled='1' }") > > As you can see, I'm using NVelocity. > > Thanks for any help. > > PS: Is there any documentation on the breaking changes between the two > above mentioned versions? > > > > > > > -- Ken Egozi. http://www.kenegozi.com/blog http://www.delver.com http://www.musicglue.com http://www.castleproject.org http://www.gotfriends.co.il --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en -~----------~----~----~----~------~----~------~--~---
