Andy
Andy

Reputation: 1139

celerity submit form by pressing enter

I'm trying to use celerity to submit a form. This form has a generated link that is called when the user hits the enter button. How do I trigger this?

I know you can submit by finding the link / button and pressing .click(). But I want to submit by pressing enter.

I noticed that celerity form objects has a:

http://celerity.rubyforge.org/yard/Celerity/Form.html#submit-instance_method

but I cant seem to access it. Thanks in advance

Upvotes: 1

Views: 249

Answers (0)

Related Questions