Problems with load() on JQuery

I'm now working with AJAX and I noticed that I cannot use load() function with JQuery,

$('#content').load('http://localhost/HTML/acerca_de.html' , '#content'); 

I loaded a file on my local host and tried to print it at the html page with the id content.

This is basic AJAX i used Jon Ducket Javascript book as reference but it doesn't work.

Edit: thanks for the answers, at the end it was a problem with the version of JQuery, i had the slim version, and i need full version one, i instaled it and now i can work with AJAX



Read more here: https://stackoverflow.com/questions/68462981/problems-with-load-on-jquery

Content Attribution

This content was originally published by Jonathan Almengot at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: