I’m doing a project for the quote generator and I’m trying to an AJAX request for “quotes.txt” to “quotes.html”. How do I attach an image to show what I’m taking about?
Could you link to your code please?
To answer your other question, the icon in the reply editor that has an arrow pointing up is how you upload an image. You can also copy and paste it into the reply editor as well.
I see that you are using jQuery. One way to make an Ajax request would be the jQuery
$.getJSON() function. It can be used like this:
$.getJSON(url, data, success);
url is the url of the base api you want to get the info from.
data is any data you want to send to that server (I don’t know that you’re going to want to use that for this project) and success is the function you want to be carried out once the you reach the api.
Is there a way you can update that link with the new code so I can see what you’re talking about?