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 8589303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:01:19+00:00 2026-06-11T23:01:19+00:00

Where is ajax defined in the source and how it is bound to the

  • 0

Where is ajax defined in the source and how it is bound to the jQuery object?

I ran a search for it and found it on 5993 inside this thing called:

jQuery.extend({

where fn is an alias for prototype.

How does Jquery know were to find ajax() when you call it. More generally how does extend work?

http://api.jquery.com/jQuery.ajax/

http://code.jquery.com/jquery-latest.js

  • 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-11T23:01:20+00:00Added an answer on June 11, 2026 at 11:01 pm

    The extend method copies properties from one object to another. With just one argument, it copies properties to this, so in this case it’s copying the properties to the fn object itself.

    edit in my copy of the 1.7.1 code, the “ajax” method actually is copied in by jQuery.extend(), not jQuery.fn.extend(). It’s the same function; extend is bound to both the jQuery object and to the “fn” object (the internal constructor function). When it’s called as jQuery.extend({ ... }) therefore, the properties are copied to the jQuery object (function) itself.

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

Sidebar

Related Questions

I'm trying to find where jQuery.ajax() is defined in their source code. However, using
this thing almost works: function myClass(url) { this.source = url; this.rq = null; this.someOtherProperty
jQuery - ajax success parameter i wanna know how to give a object method
I've got an object defined like this: data = {name: 'durk durk durk', site_id:
ajax tutorial on w3school at http://www.w3schools.com/ajax/ajax_database.asp In this function (function GetXmlHttpObject()), it creates a
Ajax - Asynchronous JavaScript And XML What does it include? HTML, JavaScript, XML, jQuery?
I want to get live currency rates from an external source, so I found
I am using Struts 2 user-defined result that is used with an AJAX request.
I'm looking at this jQuery Autocomplete example . What I can't figure out is
I have an AJAX Accordion control defined in the page and within each accordion

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.