[Seaside] jQuery Dummy

Joel Turnbull joel.turnbull at ardishealth.com
Mon Jan 4 15:03:04 UTC 2010


This should be an easy one. I'm using jQuery to turn a div into a submit
button. onClick I need the div to evaluate a callback and then submit the
form. I can do one or the other but I'm wasting a lot of time trying to
figure out how do both. Been playing with script:, but I don't understand
what it is and can't get it to work.

canvas div
        id: divID;
        onClick: ( canvas jQuery ajax callback: [ self goToNextStep ] );
        with: [ canvas text: 'Next' ]

BTW, I'd love suggestions on a good resource or path for understanding
jQuery in seaside.

Thanks,
Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100104/1448a800/attachment.htm


More information about the seaside mailing list