Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Ajax Call using Jquery

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 119
    Comment on it

    To call ajax you need to execute the following code:

    $.ajax({
                         type: "POST",
                         url: 'pagename.php', //location of the server
                         data: varData, //data send to the server
                     success: function(c) {             
                                           //success data                       
                            }
                    });
    

    In above code first of all you need to give the method type wither post or get. In url you need to give the path of the server you want to send request. In data field you need to give the values you want to send to the server.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: