Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $( "#submit" ).on( 'click', function() {
- var username = $( "#username" ).val();
- var password = $( "#password" ).val();
- $.post('/login/', {username: username, password: password}, function(data) {
- window.location.replace(data.redirect);
- });
- });
- });
Add Comment
Please, Sign In to add comment