<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:&nbsp;'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>&gt; Date: Mon, 3 Jun 2013 17:43:38 -0700<br>&gt; From: lasmiste@gmail.com<br>&gt; To: seaside@lists.squeakfoundation.org<br>&gt; Subject: [Seaside] Re: String concatenation in javascript<br>&gt; <br>&gt; I resend the message because the format was not correct.<br>&gt; <br>&gt; <br>&gt; Hi,<br>&gt;  I'm trying to update a textarea and I wrote this code:<br>&gt; html anchor onClick: ((html jQuery id: 'textAreaId') value: (html jQuery id:<br>&gt; 'textAreaId') value , 'some text'); with: 'a label'.<br>&gt; <br>&gt; Unfortunately it generates this html:<br>&gt; a label  <br>&gt; <br>&gt; Instead I need an html like:<br>&gt; a label <br>&gt; <br>&gt; i.e a string concatenation in javascript (see plus sign instead of<br>&gt; semicolon).<br>&gt; <br>&gt; I can't find anything on seaside image.<br>&gt; Can you help me?<br>&gt; <br>&gt; Cheers<br>&gt;  Dave<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; --<br>&gt; View this message in context: http://forum.world.st/String-concatenation-in-javascript-tp4691470p4691471.html<br>&gt; Sent from the Seaside General mailing list archive at Nabble.com.<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></div></div>                                               </div></body>
</html>