[Seaside] Re: How to define default Button?

Sabine Knöfel sabine.knoefel at gmail.com
Tue Jul 23 08:48:23 UTC 2013

and before triggering the save button, trigger change event of the element
which has current focus.
otherwise last entry will be lost

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

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

More information about the seaside mailing list