Along with the ability to efficiently find objects that match a criteria, you will often require your objects to be in a certain order for outputting.
As with the previous recipe, create an HTML page named recipe-5.html
where we can add and execute JavaScript code for this recipe using the following code:
<!DOCTYPE html> <html> <head> <title>Chapter 3 :: AJAX & JSON</title> <script src="jquery.min.js"></script> <script > </script> </head> <body></body> </html>
Update the reference to the jQuery library in order to ensure that it includes the correct file on your computer.