×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Vlad Krasovsky
Added: Oct 10, 2014 10:29 PM
Views: 8
Tags: no tags
  1. ajaxObj.start = function() {
  2.     console.log(ajaxObj.data);
  3.     var Turl = "//***.php";
  4.     var posting = $.ajax({
  5.         url:Turl,
  6.         type:"POST",
  7.         data:ajaxObj.data,
  8.         contentType:"application/json; charset=utf-8",
  9.         dataType:"json",
  10.         success: function(data){
  11.             console.log(data);
  12.         }
  13.     })
  14. }