// pet-it.js
// Skeleton JavaScript file for Lab 6: Pet-It
// INFO 343, Autumn 2012
// When the page is ready, attach event handlers
$(document).ready(function() {
$("#dogs, #cats").change(getBreeds);
$("#next").click(nextClick);
});
// Get the list of all breeds of cats/dogs using Ajax.
function getBreeds() {
}
// Move to next breed.
function nextClick() {
}
// Provided Ajax error code.
function ajaxError(xhr, type, error) {
alert("Error making Ajax request!\n\n" +
"Status code: " + xhr.status + "\n" +
"Status text: " + error + "\n\n" +
"Full text of response:\n" + xhr.responseText);
}