Hello everyone,
I'm trying to submit the form normally as well as by pressing
Ctrl+Enter. Yepp, the same task.
What I'm doing is the following:
var validator=$(#myform).validate( {
// tralala, here go the rules, error
On Thu, Jan 7, 2010 at 11:04 AM, Andre Polykanine wrote:
var validator=$(#myform).validate( { snip });
$(document).keydown (function (e) {
if (e.ctrlKey e.which==13) { validator.form(); }
});
then I'm trying to submit. If I do something wrong (for example, leave
a required field blank)
Hello everyone,
I'm trying to sumbit the form normally as well as by pressing
Ctrl+Enter. Yepp, the same task.
What I'm doing is the following:
var validator=$(#myform).validate( {
// tralala, here go the rules, error
3 matches
Mail list logo