0
$("#get-results").submit(function (event) {
    console.log("Submitting new analysis...");
    event.preventDefault();
    //$("#question-submit").prop("disabled", true);
    var question = $('#question').val();
    var url1 = "https://@gateway.watsonplatform.net/retrieve-and-rank/api/v1/solr_clusters/solr/example_collection/fcselect?ranker_id=868fedx13-rank-702&q=does it support encryption &wt=json&fl=id,title,body";
    $.ajax({
        type: "POST",
        url : url1,
        dataType : 'jsonp',
        jsonpCallback : 'callback',
    });
    // JSONP Callback
    function callback(response) {
        //var glacier = JSON.parse(response);
        alert("Response from cross origin: " + response);
    }

}); 

構文エラー: ありません。ステートメントの前 {"responseHeader":{"status":0,"QTime":70},"response":{"numFound":109,"start": |_________________^ は応答です

4

1 に答える 1