Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8814915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:14:50+00:00 2026-06-14T04:14:50+00:00

I have a code: req = new AjaxAdapter; req.dataType = ‘json’; return req.query(‘GET’, url,

  • 0

I have a code:

req = new AjaxAdapter;
req.dataType = 'json';

return req.query('GET', url, request, function(responseServer, status, xhr) {
        var json;
        json = responseServer.data;
        return response(json);
    }, function(jqXHR, textStatus, errorThrown) {
        var exception;
        exception = jQuery.parseJSON(jqXHR.responseText);
        return showError(exception);
    });

And I don’t understand it. So what is the query() function? I can’t find it in the jQuery documentation. See in my example that this function has 5 parameters:

  • get
  • url
  • request
  • function which return data (response)
  • function which is call when is error

What is request? Where I can found documentation of the query() function?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T04:14:52+00:00Added an answer on June 14, 2026 at 4:14 am

    This isn’t jQuery. As for what the query method does, look at its signature:

    req.query( 'GET', url, request, function( responseServer, status, xhr )
    

    It takes the post-type as the first parameter, a URL as the second, your request data as the third, and a callback function when the request completes.

    Your callback returns the server’s response, a status code indicating the type of response, as well as the XHR object the query method used to issue the request.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following code: def whatever(url, data=None): req = urllib2.Request(url) res = urllib2.urlopen(req, data)
If I run this Code: function sendRequest() { var req = new XMLHttpRequest(); req.open(GET,
I have this code: window.onload= function() { window.scrollTo(0, 0.9); if (navigator.standalone) return; for (var
my code: var req = new XMLHttpRequest(); req.open(GET,http://http://surfkid.redio.de/link.php); req.send(null); var textout = var.responseText; document.write(textout);
I have code like this in my view model: function ChatListViewModel(chats) { var self
I have the following code: [HttpGet] public ActionResult Edit(int req) { var viewModel =
I have refactored the following object initialization: Req r = new Req(); r.set_f1(A); r.set_f2(123);
I have a code that XMLHttpRequest. It's a object to send request to server
I've have some code similar to this: HttpWebRequest req; HttpWebResponse response; Stream receiveStream =
I have this code which successfully makes an HTTP request: //Successful request var requestInBytes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.