Today’s post is on JSON and Ajax. Ajax stands for Asychronous Javascript and XML. It is used for fetching data from a server. When a webpage makes a request to a server, the server responds with some HTML and maybe some Javascript. An Ajax request takes additional information for the server, but not a new webpage. A website that uses jQuery but not Ajax may take longer to load. If a button is on website that uses Ajax, then when that button is clicked, it will fetch additional information. Some code that uses Ajax might look like this:$.ajax(“additional information”,function(){*all of the callbacks, such as success,failure,complete,etc.*}); JSON stands for JavaScript Object Notation. An Ajax request in JSON may look like this: {body:”Text”}. Next post is on Node.js.
Subscribe to Youtube
Tags
algebra
art
astronomy
B-Day
beach
biography
books
botany
Building
chess
comics
computer programming
cooking
economics
electricity
food
fun
games
geography
history
holidays
homeschooling
Latin
magic
math
Money
movies
music
pinewood derby
pumpkins
racing
reading
Rube Goldberg Machine
science
snow
sports
story
swimming
time travel
toys
Uncategorized
vacation
vacations
work
writing
Leave A Comment