"No, there isn't a native one-line jQuery function as described"
However, it's very easy to change that.
(function($){
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
$.getParameterByName = getParameterByName;
})(jQuery);
with that included in the head after jquery, you can now simply do:
var animal = $.getParameterByName("Animal");
Method for getting parameter by name taken from: How can I get query string values in JavaScript?