JavaScript form event listener triggering before submit and on submit, submits blank values rather than actual form values

前端 未结 0 1923
攒了一身酷
攒了一身酷 2021-02-19 04:55

I am creating a Login form in JavaScript and am trying to send this form to my Ruby on Rails backend.

I have two problems:

  1. When the form loads, it trigger

相关标签:
回答
  • 消灭零回复
提交回复
热议问题