Javascript login form doesn't submit when user hits Enter

后端 未结 7 1553
独厮守ぢ
独厮守ぢ 2020-12-31 10:06

I\'m working on a simple javascript login for a site, and have come up with this:

Login to view!
7条回答
  •  旧时难觅i
    2020-12-31 11:03

    Surely this is too unsecure as everyone can crack it in a second ...

    -- only pseudo-secure way to do js-logins are the like:

    
      Name: 
    Password:

提交回复
热议问题