<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Toggle class?<div><br></div><div>RS<br><br><hr id="stopSpelling">Date: Wed, 6 Apr 2011 23:10:44 -0400<br>From: jt@parspro.com<br>To: seaside@lists.squeakfoundation.org<br>Subject: [Seaside] jQButton - adding additional classes<br><br>Hi,<div>I want to add 'ui-state-disabled' to a JQButton. The widget hierarchy does not respond to #addClass and if I add it to the WAButton, its ignored/over-written by the jQuery script. &nbsp;Using #option:at gives me the desired class, but removes all the others.</div>
<div><br></div><div>I'm using it like this :-</div><div><br></div><div><div>html button</div><div>&nbsp;&nbsp; &nbsp;bePush;</div><div>&nbsp;&nbsp; &nbsp;script: ((html jQuery this) button primaryIcon: 'ui-icon-refresh'; text: true);</div>
<div>&nbsp;&nbsp; &nbsp;onClick: ((html jQuery ajax) callback: []);</div><div>&nbsp;&nbsp; &nbsp;with: 'Update'.<span class="ecxApple-tab-span" style="white-space:pre">        </span></div><div><br></div>and would like to (conditionally) add the 'ui-state-disabled'.&nbsp;</div>
<div><br>-- <br>~JT<br><br><br>
</div>
<br>_______________________________________________
seaside mailing list
seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</div>                                               </body>
</html>