Multible insertion while presing the ender key continuously


I am new to ajax.I am creating one form on ajax call.Also i am using
for remote_form_tag to submit the form. I am trying to submit the form
using Enterkey.
Here the problem is If i hold the enter key some time multible rows are
are creating. Can i control using javascript???

Please help me…

Model validations should prevent this.

On Oct 23, 7:17 am, Selvaraj S. <rails-mailing-l…@andreas-