Here is the code for Ajax Post Request With Json Datatype In Jquery:
| $.ajax( | |
| { | |
| type: 'POST', | |
| url: 'RequestHandler/RegisterationHandler.php?ZipVal=' + ZipVal, | |
| data_type: 'json', | |
| data: { "ZipVal": ZipVal }, | |
| success: function (data) | |
| { } }); |