如何實現DataForm Dialog按Enter自動存檔?
範例程式如下:

$("#dataFormMaster").form({

onLoadSuccess: function (data) {

$(this).live('keypress', function (e) {

var p = e.which;

if (p == 13) {

submitForm('#JQDialog1');

}

});

}

});

});