<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>In string literals, single quotes are escaped by a preceding single quote.<br><br>What you should do is search for some Smalltalk examples and Seaside tutorials. I believe there are other mailing lists for Smalltalk.<br><br>RS<br><br>> To&#58; seaside&#64;lists.squeakfoundation.org<br>> From&#58; intrader.intrader&#64;gmail.com<br>> Date&#58; Fri, 4 Feb 2011 19&#58;48&#58;32 &#43;0000<br>> Subject&#58; &#91;Seaside&#93; Re&#58; I would like to attach an onClick event according to<br>> <br>> Thank you Boris<br>> <br>> Most informative of other ways to do things.<br>> <br>> In my case, I want to translate<br>> &#60;code&#62;<br>> &#36;&#40;&#39;&#35;external_links a&#39;&#41;.click&#40;function&#40;&#41; &#123;<br>>     return confirm&#40;&#39;You are going to visit&#58; &#39; &#43; this.href&#41;&#59;<br>> &#125;&#41;&#59;<br>> &#60;/code&#62;<br>> <br>> The problem I find is that Seaside incorrectly translates <br>> <br>> &#60;code&#62;<br>> html button<br>> onClick&#58; &#40;&#40;html jQuery expression&#58; &#39;&#35;external_links a&#39;&#41; onClick&#58; &#39;return <br>> confirm&#40;&#34;You are going to visit&#58; &#34;&#43; this.href&#41;&#39;&#41;&#59;<br>> with&#58; &#39;Attach Click&#39;.<br>> &#60;/code&#62;<br>> <br>> It has trouble with quotes as it translates the above into&#58;<br>> &#60;bad code&#62;<br>> &#60;button onclick&#61;&#34;&#36;&#40;&#34;&#35;external_links a&#34;&#41;.click&#40;function&#40;&#41;&#123;return confirm&#40;&#34;You are <br>> going to visit&#58; &#34;&#43; this.href&#41;&#125;&#41;&#34; type&#61;&#34;submit&#34; class&#61;&#34;submit&#34;&#62;Attach <br>> Click&#60;/button&#62;<br>> &#60;/bad code&#62;<br>> As you see the quotes, they are incorrect. How do I correct this&#63;<br>> <br>> Thanks again<br>> <br>> _______________________________________________<br>> seaside mailing list<br>> seaside&#64;lists.squeakfoundation.org<br>> http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>                                               </body>
</html>