<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Try adding parens like this (untested):<div><br></div><div>html anchor onClick: ((html jQuery id: 'textAreaId') value: ((html jQuery id: 'textAreaId') value), 'some text'); with: 'a label'.</div><div><br></div><div>It looks like the parser thinks that ... value, 'some text'... is two separate JavaScript statements, which is not your intent.</div><div><br></div><div>RS<br><br><div>> Date: Mon, 3 Jun 2013 17:43:38 -0700<br>> From: lasmiste@gmail.com<br>> To: seaside@lists.squeakfoundation.org<br>> Subject: [Seaside] Re: String concatenation in javascript<br>> <br>> I resend the message because the format was not correct.<br>> <br>> <br>> Hi,<br>> I'm trying to update a textarea and I wrote this code:<br>> html anchor onClick: ((html jQuery id: 'textAreaId') value: (html jQuery id:<br>> 'textAreaId') value , 'some text'); with: 'a label'.<br>> <br>> Unfortunately it generates this html:<br>> a label <br>> <br>> Instead I need an html like:<br>> a label <br>> <br>> i.e a string concatenation in javascript (see plus sign instead of<br>> semicolon).<br>> <br>> I can't find anything on seaside image.<br>> Can you help me?<br>> <br>> Cheers<br>> Dave<br>> <br>> <br>> <br>> <br>> --<br>> View this message in context: http://forum.world.st/String-concatenation-in-javascript-tp4691470p4691471.html<br>> Sent from the Seaside General mailing list archive at Nabble.com.<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>