Trying to call a function, by testing it I tried to do 'alert' but perhaps 1.11 doesn't support that but it's not working even when I test it in things that I know work. So doing a simple $('body').hide() in the function to see if it's called, and it's not for some reason. Probably syntax error, new to web programming. Any help is appreciated. My guess is that it's not in the document ready function, so if that's correct how do i work around it?
$(document).ready(function() {
$('a.show').click(function(){
testFunc();
}); //closes click
}); //closes ready
function testFunc()
{
$('body').hide();
});