Home > Article > Web Front-end > Problems and solutions when applying jQuery to login page_jquery
Recently I have been learning and trying jquery, and I feel that its ajax and ashx sending back json are a perfect combination. If we can use this method during Form verification, the login page can almost reach the ultimate simplicity. In the login page, use jquery's ajax callback to ashx to verify the username and password, and then redirect to other pages. Preliminary verification, it is possible to complete the login by manually constructing the login ticket in ashx and then returning it to the login terminal.
The next step is to introduce jquery into the login.aspx page, put jquery in the lib directory, put user.ashx in the services directory, and use jquery.ajax in login.aspx to make the call. But after the code is completed and actually used, every time I enter the login.aspx page for initialization, an error is always reported, prompting: The first line of jquery.js is missing an object, so I change the
It’s my ambition, thank you about blank friends for your help!