Cant Login always failed

前端 未结 1 1168
我寻月下人不归
我寻月下人不归 2021-01-29 11:18

Good day I am a newbie in webdev. Im trying to create a project where in there is a login form that users will input their username and password.Whenever the button is click it

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-29 11:37

    You are comparing strings with "=". Try with xml.childNodes[i].nodeName=="username" and the same for the password if. Also do not name variables in other languages different than English. Its hard to read.

    0 讨论(0)
提交回复
热议问题