소스 검색

static page

ming 3 년 전
부모
커밋
35a4dc73bf
1개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. 3 7
      script_msg.js

+ 3 - 7
script_msg.js

@@ -24,17 +24,13 @@ $(".next").click(function(){
 	}	
 	dataOBJ = {"name":name_title,"text_content":txtARR,"image_urls":imgARR}
   console.log(txtARR);
-  console.log(imgARR);
- 
+  console.log(dataOBJ);
+
   $.ajax({
 	url: 'http://www.choozmo.com:8888/make_anchor_video_v2',
 	type: 'post',
 	dataType: 'json',
-	data: JSON.stringify({
-		title: name_title,
-		text_content: txtARR,
-		image_urls: imgARR
-	}),
+	data: dataOBJ,
 	success: function(data) {
 	  showThankyou();
 	},