I'll elaborate :)

Page Template:

<form action="http://somewhere_in_plone_site";
       method="post"
       id="my_form">
   <input name="foo" type="text"/>
   <input name="submit" type="submit"/>
</form>

kss rule:

form#my_form:submit {
     action-server: kss_some_script;
     kss_some_script-kssSubmitForm: currentForm();
}

When I click on the submit button kss_some_script is called as expected, 
but if I just press the Enter key then it is not (the form just gets 
submitted the normal non-ajax way).

Maybe I should just detect keypresses on the entire form?

H
_______________________________________________
Kss-devel mailing list
Kss-devel@codespeak.net
http://codespeak.net/mailman/listinfo/kss-devel

Reply via email to