[Seaside] Re: How to define default Button?

Sabine Knöfel sabine.knoefel at gmail.com
Tue Jul 23 07:55:39 UTC 2013

Hi Joachim and Johan,

I dont want to submit the page and I have n forms and buttons in various

after googling for a while I found

html document addLoadScript: 'jQuery(document).keypress(function(e) {
    if (e.which == "13") { 
        jQuery("#saveButton").click(); return false;

as a working solution.
Now I only have to define #saveButton on each of my pages and thats all.


View this message in context: http://forum.world.st/How-to-define-default-Button-tp4700070p4700203.html
Sent from the Seaside General mailing list archive at Nabble.com.

More information about the seaside mailing list