Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $( function() {
- $( "#lbox_submit_but").live( "click", function() {
- $.ajax({
- url: 'php/login.php',
- type: 'POST',
- data: "login=1&user="+ $( "#username").val()+ "&pass="+$( "#password").val(),
- success: function( html) {
- $.get( "php/page_contents.php", function( data) {
- content = data;
- loadSite();
- });
- }
- });
- return false;
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement