🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Félix Guérin
    Félix Guérin
    17,910 Points

    Making this request in ES6 (with Fetch API)

    Posted February 24, 2019 8:35pm by Félix Guérin
    Félix Guérin
    17,910 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    2 Answers

  • Leonardo Motta
    Leonardo Motta
    11,284 Points

    Making this request with vanilla js

    Posted September 9, 2018 3:10pm by Leonardo Motta
    Leonardo Motta
    11,284 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

  • tobiastrinkler
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    tobiastrinkler
    Full Stack JavaScript Techdegree Student 16,538 Points

    Ajax Request

    Posted June 24, 2018 4:00am by tobiastrinkler
    .a{fill-rule:evenodd;}techdegree
    tobiastrinkler
    Full Stack JavaScript Techdegree Student 16,538 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

  • John Bastian Bolhano
    John Bastian Bolhano
    4,800 Points

    How do we do this in pure JavaScript?

    Posted February 23, 2018 2:48am by John Bastian Bolhano
    John Bastian Bolhano
    4,800 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

  • Dávid Molnár
    Dávid Molnár
    27,081 Points

    "?jsoncallback=?" query string is a general solution?

    Posted December 10, 2017 8:13pm by Dávid Molnár
    Dávid Molnár
    27,081 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

  • Dongyun Cho
    Dongyun Cho
    2,256 Points

    $(this).siblings().removeClass('selected'); why this code doesn't work?

    Posted April 12, 2017 11:33am by Dongyun Cho
    Dongyun Cho
    2,256 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    2 Answers

  • Rifqi Fahmi
    Rifqi Fahmi
    23,164 Points

    Are all API generally have 'callback' parameter to request it as JSONP ??

    Posted February 26, 2017 5:03am by Rifqi Fahmi
    Rifqi Fahmi
    23,164 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    0 Answers

  • shobha gunupuru
    shobha gunupuru
    1,137 Points

    how to write the code when there is api_key given

    Posted February 14, 2017 4:36am by shobha gunupuru
    shobha gunupuru
    1,137 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    3 Answers

  • Aaron Selonke
    Aaron Selonke
    10,323 Points

    Making this same request in Vanilla JavaScript (instead of using jQuery)

    Posted November 20, 2016 4:56pm by Aaron Selonke
    Aaron Selonke
    10,323 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    3 Answers

  • Venkiteswaran Subramanian
    Venkiteswaran Subramanian
    7,643 Points

    Is it ok to keep the callback functions outside the ready function?

    Posted October 2, 2016 10:05am by Venkiteswaran Subramanian
    Venkiteswaran Subramanian
    7,643 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

  • Susan Rusie
    Susan Rusie
    10,671 Points

    Why is this not passing task 2 the code challenge for the Open Weather Map API?

    Posted June 10, 2016 2:50am by Susan Rusie
    Susan Rusie
    10,671 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

  • Sean Lamoreaux
    Sean Lamoreaux
    13,468 Points

    HTTP vs HTTPS?

    Posted March 19, 2016 11:58pm by Sean Lamoreaux
    Sean Lamoreaux
    13,468 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    3 Answers

  • Jared Bothwell
    Jared Bothwell
    7,031 Points

    Why data in function displayPhotos(data)?

    Posted March 2, 2016 3:55am by Jared Bothwell
    Jared Bothwell
    7,031 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    2 Answers

  • Thomas Euget
    Thomas Euget
    10,615 Points

    how to launch a local server to try locally the ajax code?

    Posted January 27, 2016 11:45am by Thomas Euget
    Thomas Euget
    10,615 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    2 Answers

  • Lance Chandler
    seal-mask
    PLUS
    .a{fill-rule:evenodd;}techdegree seal-36
    Lance Chandler
    Front End Web Development Techdegree Graduate 21,818 Points

    flicker.js - $(document).ready(function() { "Uncaught ReferenceError: $ is not defined" per Chrome

    Posted November 19, 2015 6:03pm by Lance Chandler
    .a{fill-rule:evenodd;}techdegree seal-36
    Lance Chandler
    Front End Web Development Techdegree Graduate 21,818 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    3 Answers

  • Luiz Vidoto
    Luiz Vidoto
    7,947 Points

    How can I make an AJAX request to a HTTPS server from a local website?

    Posted June 19, 2015 1:25am by Luiz Vidoto
    Luiz Vidoto
    7,947 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

  • Jonathan Sandlund
    Jonathan Sandlund
    3,972 Points

    What's the more common practice for passing data to $.getJSON: using variables or hard coding inline?

    Posted May 24, 2015 10:26pm by Jonathan Sandlund
    Jonathan Sandlund
    3,972 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

  • Nicholas Woods
    Nicholas Woods
    6,260 Points

    The data argument represents the JSON data returned by jQuery.

    Posted April 16, 2015 1:17am by Nicholas Woods
    Nicholas Woods
    6,260 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

  • Floyd Orr
    Floyd Orr
    11,723 Points

    what does getJSON() do that regular get() can't do?

    Posted March 28, 2015 9:58pm by Floyd Orr
    Floyd Orr
    11,723 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    2 Answers

  • Kelvin Zhao
    Kelvin Zhao
    10,418 Points

    When to know to use ?jsoncallback=?

    Posted December 2, 2014 9:40am by Kelvin Zhao
    Kelvin Zhao
    10,418 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

  • Alex Robertson-Brown
    PLUS
    Alex Robertson-Brown
    Courses Plus Student 8,956 Points

    How does an object sent as data in a get request?

    Posted October 14, 2014 7:33pm by Alex Robertson-Brown
    Alex Robertson-Brown
    Courses Plus Student 8,956 Points
    • JavaScript
    • AJAX Basics (retiring)
    • AJAX and APIs
    • Making the AJAX Request

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.