🤑 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
  • Dustin Henry
    Dustin Henry
    7,392 Points

    Why do we do xhr.onreadystatechange = function instead of xhr.onreadystatechange(function)?

    Posted June 28, 2018 2:53pm by Dustin Henry
    Dustin Henry
    7,392 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    1 Answer

  • Noah Fields
    Noah Fields
    13,985 Points

    What if we get a status of 304(Not Modified)?

    Posted December 27, 2017 7:03pm by Noah Fields
    Noah Fields
    13,985 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    1 Answer

  • d4rk5un
    d4rk5un
    2,771 Points

    Create callback function challenge

    Posted October 12, 2017 12:52pm by d4rk5un
    d4rk5un
    2,771 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Sergi Oca
    Sergi Oca
    7,981 Points

    Thank you for this course.

    Posted November 16, 2016 9:06am by Sergi Oca
    Sergi Oca
    7,981 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    0 Answers

  • James Barrett
    James Barrett
    13,253 Points

    Why are we using a nested if statement for the HTTP response?

    Posted March 31, 2016 12:50pm by James Barrett
    James Barrett
    13,253 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Maria Campbell
    Maria Campbell
    8,641 Points

    My alert for statusText worked, but it didn't return any text. Why is that?

    Posted March 6, 2016 6:43pm by Maria Campbell
    Maria Campbell
    8,641 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    3 Answers

  • Giovanni Valdenegro
    Giovanni Valdenegro
    13,871 Points

    Modified if statement

    Posted April 24, 2015 8:19pm by Giovanni Valdenegro
    Giovanni Valdenegro
    13,871 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    3 Answers

  • Maureen O'Neal
    Maureen O'Neal
    12,930 Points

    Ajax callback challenge 3 of 4

    Posted February 14, 2015 5:26am by Maureen O'Neal
    Maureen O'Neal
    12,930 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Ryan Hellerud
    Ryan Hellerud
    3,635 Points

    call back function and changestate event question

    Posted January 7, 2015 11:06pm by Ryan Hellerud
    Ryan Hellerud
    3,635 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Adam Kelm
    Adam Kelm
    29,082 Points

    Where's the Workspace for this project?

    Posted October 30, 2014 6:30pm by Adam Kelm
    Adam Kelm
    29,082 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    8 Answers

  • Ben Stevenson
    Ben Stevenson
    9,360 Points

    AJAX requests don't seem to work via workspaces. I'm following the code as per the "AJAX Callbacks" video. Any ideas?

    Posted October 17, 2014 2:59pm by Ben Stevenson
    Ben Stevenson
    9,360 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    1 Answer

  • Guillermo Gomez
    Guillermo Gomez
    7,413 Points

    Workspace is retrieving the index.html if the file doesn't exist

    Posted October 4, 2014 4:23pm by Guillermo Gomez
    Guillermo Gomez
    7,413 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Donnie Reese
    Donnie Reese
    17,211 Points

    I am getting the contents of the index.html when I put in a non-existing filename.

    Posted September 17, 2014 1:46am by Donnie Reese
    Donnie Reese
    17,211 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • John Weland
    John Weland
    42,478 Points

    AJAX Callbacks, it loops

    Posted September 10, 2014 4:08pm by John Weland
    John Weland
    42,478 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

  • Phillip Legault
    PLUS
    Phillip Legault
    Courses Plus Student 18,888 Points

    I'm getting a message only 10 work spaces allowed for this account.

    Posted July 3, 2014 11:20am by Phillip Legault
    Phillip Legault
    Courses Plus Student 18,888 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    3 Answers

  • Hassan Al-ubeidi
    PLUS
    Hassan Al-ubeidi
    Courses Plus Student 6,035 Points

    Workspace not showing all files

    Posted July 1, 2014 8:41am by Hassan Al-ubeidi
    Hassan Al-ubeidi
    Courses Plus Student 6,035 Points
    • JavaScript
    • AJAX Basics (retiring)
    • Programming AJAX
    • AJAX Callbacks

    2 Answers

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.