Thanks Volker and Madan. It works great as you suggested.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Volker Weber
Sent: Wednesday, April 25, 2007 3:12 AM
To: MyFaces Discussion
Subject: Re: [Tobago] How to make button disable when user inputing a
text field by using tc:in?
Hi,
just a litle improvment:
If you just want to add the disabled style instead of replacing all
styles use
Tobago.addCssClass('page:clickMe', 'tobago-button-disabled');
you can also use Tobago.removeCssClass(element, className) to remove a
specific class
from a element.
Regards,
Volker