fix #3
This commit is contained in:
parent
b8e64a2c17
commit
8e567b90a5
@ -46,8 +46,8 @@
|
|||||||
|
|
||||||
$('#login').submit(function (e) {
|
$('#login').submit(function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var username = $('username').val();
|
var username = $('#username').val();
|
||||||
var password = $('password').val();
|
var password = $('#password').val();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: {
|
data: {
|
||||||
@ -62,4 +62,4 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user