×

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:32 PM
Views: 19
Tags: no tags
  1. ajaxObj.start = function() {
  2.     console.log(ajaxObj.data);
  3.     var Turl = "//www.flooder.com/core/handler/asynHandler.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. }
  15.  
  16. {"name":"ajaxForm","controller":"main","action":"main","elementArr":{"url1":{"type":"text","css":null,"value":"http://l2.dropspoil.com/db/recipe/5352/recipe-sealed-majestic-robe.html","validator":"url","error":"","options":[]},"number":{"type":"variable","css":null,"value":"1","validator":"any","error":"","options":[]}},"type":"AJAX","options":null,"folder":"lineage"}
  17.