Wednesday 24 April 2013

POST FORM DATA USING AJAX PROCESS

// POST FORM DATA USING AJAX PROCESS
<script type="text/javascript">
    $(document).ready(function()
    {
        $('#bunttonid').click(function()
        {
               var data = $('form#formid').serialize();
               $.post( 'processajaxdatafile.php', data,function(data){
                if(data == 'Y'){
                    // add code for return "Y" with success
                }
                else if(data == 'N'){
        // add code for return "N"  with failled
                }
                return false;} );
              return false;
        });
    });

No comments:

Post a Comment

List OF BANK PAN Numbers

List OF BANK PAN Numbers Bank/Home Loan Providers PAN Number Allahabad Bank AACCA8464F Andhra Bank AABCA7375C Axis Bank...