Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $(".login_submit").click(function(event){
- event.preventDefault();
- var name = $(".login_name").val();
- var pw = $(".login_pw").val();
- $.ajax({
- type: "POST",
- url: 'get.php?s='+self_location,
- data:{ name: name, pw: pw },
- success: function(data){
- $("#maincontent").html(data);
- console.log(data);
- aCB(urlhash);
- }
- })
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement