<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
You're right they both get called. I just made a quick example.<div><br></div><div><div>html div</div><div> style: 'width: 300px; height: 300px; border: 1px solid black; margin: 50px;';</div><div> onClick: (html jQuery this cssAt: 'background-color' put: 'red');</div><div> onClick: (html jQuery this cssAt: 'color' put: 'blue');</div><div> with: 'Hey I''m not turning blue!!!' "oh wait, I am!"</div><div><br></div><div>I must be thinking of something else that wasn't getting called when there were two listeners registered.</div><div><br></div><div>Lol the answer is so obvious. I'm looking at this post (is this still the question?) http://lists.squeakfoundation.org/pipermail/seaside/2012-August/029031.html</div><div><br></div><div>If you send #bePush to a button, it will not respond to any native behavior... here is the method comment:</div><div><br></div><div>"Creates a push button. Push buttons have no default behavior. Each push button may have client-side scripts associated with the element's event attributes. When an event occurs (e.g., the user presses the button, releases it, etc.), the associated script is triggered."</div><div><br></div><div>RS</div><br><div><div id="SkyDrivePlaceholder"></div>> To: seaside@lists.squeakfoundation.org<br>> From: intrader@aol.com<br>> Date: Mon, 27 Aug 2012 19:15:15 +0000<br>> Subject: [Seaside] Re: Help with JQuery example<br>> <br>> Robert Sirois <watchlala <at> hotmail.com> writes:<br>> <br>> > <br>> >I don't think two click listeners can be registered like that. There <br>> can only be one #onClick() if I remember right. Try to chain the <br>> jquery calls.<br>> > <br>> I hope you don't mind me jumping into the conversation. I am also <br>> struggling with callbacks with ajax. I have an issue with your<br>> statement that 'There can only be one #onCLick(). However, the code<br>> in Dynamic Web Development with Seaside 20.4.1.Defining <br>> a Callback shows two onClick handlers being specified.<br>> <br>> _______________________________________________<br>> seaside mailing list<br>> seaside@lists.squeakfoundation.org<br>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></div></div>                                            </div></body>
</html>