asciimation/gallery.js
// Fetches that student's ASCII art using Ajax and puts it in the textarea.
Fetches that student's ASCII art using Ajax and puts it in the textarea.
Fetches that student ' s ASCII art using Ajax and puts it in the textarea .
function loadAnimation() {
		var uwnetid = this.value;
		if (!uwnetid) {
			return;
		}
		textarea.value = "Fetching from Webster server...";
		ajaxHelper(STUDENTS_LIST_LINK +
				(STUDENTS_LIST_LINK.match(/[?]/) ? "&" : "?") +
				"name=" + uwnetid,
			function(ajax) {
				textarea.value = ajax.responseText;
			}
		);
	}
function loadAnimation ( ) { var uwnetid = this . value ; if ( ! uwnetid ) { return ; } textarea . value = "Fetching from Webster server..." ; ajaxHelper ( STUDENTS_LIST_LINK + ( STUDENTS_LIST_LINK . match ( / [?] / ) ? "&" : "?" ) + "name=" + uwnetid , function ( ajax ) { textarea . value = ajax . responseText ; } ) ; }
Fetches that student's ASCII art using Ajax and puts it in the textarea.
Fetches that student ' s ASCII art using Ajax and puts it in the textarea .
// grab this student's ASCII art using Ajax and put into textarea