工作,我想通過Ajax調用讓您的網站的博客細節,但我得到Ajax調用不同時拉動API調用
"Uncaught SyntaxError: Unexpected identifier"
$.ajax({
type:"GET",
dataType: "jsonp",
jsonpCallback:'callback',
contentType:"application/json",
url:"https://api.hubapi.com/content/api/v2/blog-posts/"+5067937629+"?hapikey=**********"
success: function (data) {} });
請妥善框架的問題。分離你寫的代碼和你得到的錯誤。嘗試在編輯器中格式化代碼片段。 –