[Seaside] Re: I would like to attach an onClick event according to
Sebastian Sastre
sebastian at flowingconcept.com
Sun Feb 6 13:54:32 UTC 2011
Hey Fritz, I wasn't following all the details of this but... man, don't be shy in hacking the shit that is rendering that in an improper way
Just go with the debugger until it renders that and investigate why (the involved code) isn't rendering the thing in the way is expected to be
don't underestimate your hacking powers
you don't need our permission or anybody's
BTW if you find the thing, would be nice if you tell us what you've learned or what you have improved
sebastian
o/
On Feb 6, 2011, at 3:09 AM, Fritz Schenk wrote:
> John
>
>
>> I typed it out using alert, substitute confirm and it works as expected.
>
> Please provide me with the working code.
>
> Sorry, the generated code is:
>
> <generated Seaside source>
> <button onclick="$("#external_links a").click(function(){alert
> ("Your are going to visit: " + this.href)})" type="submit"class="submit">
> Attach Click</button>
> </generated Seaside source>
>
> See the nested double quotes. his is the source of the problem
>
> I am being extremely stubborn about this issue as it show a problem with the
> onClick message handler in Seaside.
>
> The embedded double quote is not correct!
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110206/e5301b8e/attachment.htm
More information about the seaside
mailing list