Lines Matching refs:postData
2528 Snap.ajax = function (url, postData, callback, scope){
2532 if (is(postData, "function")) {
2534 callback = postData;
2535 postData = null;
2536 } else if (is(postData, "object")) {
2538 for (var key in postData) if (postData.hasOwnProperty(key)) {
2539 pd.push(encodeURIComponent(key) + "=" + encodeURIComponent(postData[key]));
2541 postData = pd.join("&");
2543 req.open((postData ? "POST" : "GET"), url, true);
2544 if (postData) {
2560 req.send(postData);