Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 735 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 735 Bytes

jquery-form-transport

Its an ajaxTransport of Jquery library that allow form submitting

Key Features

  • As simple as calling jquery ajax function
  • Minimum configuration option
  • Cross domain communication using name transport

USES

Sample code for ajaxTransport of Jquery library

    $.post('form_id',{ name: "John", location: "Boston" }, function(data){
        //Handle the response data

    },'form html');

or

 $.ajax({
        form: 'form_id',
        url: "post.php",
        formData: { name: "John", location: "Boston" },
        dataType: 'form html',
        success:function(data){
            //Handle The response data
        }
    });