1. Question: Which of the following will show an alert containing the content(s) of a database selection?

    A
    $.ajax({ type: "GET", url: "process_file.php?comp_id="+comp_id, success: function (result) { alert(result); } });

    B
    $.ajax({ type: "GET", success: function (result) { alert(result); } });

    C
    $.ajax({ type: "GET", url: "process_file.php?comp_id="+comp_id, error: function (result) { alert(result); } });

    D
    $.ajax({ type: "GET", url: "process_file.php?comp_id="+comp_id, Complete: function (result) { alert(result); } });

    Note: Not available
    1. Report
  2. Question: How can an Ajax request that has not yet received a response be canceled or aborted?

    A
    xhr is an Ajax variable xhr.abort()

    B
    xhr is an Ajax variable xhr.cancel()

    C
    xhr is an Ajax variable xhr.die()

    D
    xhr is an Ajax variable xhr.destroy()

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd