Jquery Dom and functions in html body
- by slick
I have 
 before my closing body tag here i have the usual
$(function() {
   function test(){
      alert("test");
   }
});
in my html i have input tags 
I get an error of that test is undefined. I am trying to make IE7 call function onchange I had a whole solution working but since IE7 does not like .change() i am going to put onchange attributes within the inputs but now i have  this issue. 
Any idea how I can solve this?