-
FEATURED COMPONENTS
First time here? Check out the FAQ!
<window>
<button label="click me" autodisable="self,cancel" onClick="self.disabled=true"/>
</window>
when click the button the button should disabled but the autodisable attribute will set the button disabled = false
don't understand your issue, could you explain ?
i mean the button should disabled
in the code you posted, it did
have you read document http://books.zkoss.org/wiki/ZK_Component_Reference/Essential_Components/Button
tried this?
<window>
<button label="click me" autodisable="+self" />
</window>
Asked: 2011-08-29 02:42:46 +0800
Seen: 307 times
Last updated: Aug 30 '11