<div>renderContentOn: html</div><div> html div id: 'external_links';</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>with: [</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>1 to: 5 do: [:x |</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>html anchor</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>callback: [x inspect];</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>with: x.</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>html break].</div><div> 1 to: 5 do: [:x | html text: 'just some content'. html break.]].</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>html button</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>onClick: ((html jQuery expression: '#external_links a')</div><div> <span class="Apple-tab-span" style="white-space:pre">                </span>onClick: 'return confirm("You are going to visit: "+ this.href)');</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>with: 'Fritz''s Attach Click'.</div><div><span class="Apple-tab-span" style="white-space:pre">                </span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>html button</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>onClick: ( (html jQuery expression: '#external_links a')</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>call: 'click' with: ('return confirm("You are going to visit: " + this.href)' asFunction));</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>with: 'My Attach Click'</div><div><br></div><br><div class="gmail_quote">On Sun, Feb 6, 2011 at 12:09 AM, Fritz Schenk <span dir="ltr"><<a href="mailto:intrader.intrader@gmail.com">intrader.intrader@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">John<br>
<div class="im"><br>
<br>
> I typed it out using alert, substitute confirm and it works as expected. <br>
<br>
</div>Please provide me with the working code.<br>
<br>
Sorry, the generated code is:<br>
<br>
<generated Seaside source><br>
<button onclick="$("#external_links a").click(function(){alert<br>
<div class="im"> ("Your are going to visit: " + this.href)})" type="submit"class="submit"><br>
Attach Click</button><br>
</generated Seaside source><br>
<br>
</div>See the nested double quotes. his is the source of the problem<br>
<br>
I am being extremely stubborn about this issue as it show a problem with the<br>
onClick message handler in Seaside.<br>
<br>
The embedded double quote is not correct!<br>
<div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://john-mckeon.us" target="_blank">http://john-mckeon.us</a><br>