Jquery Dom and functions in html body

Posted by slick on Stack Overflow See other posts from Stack Overflow or by slick
Published on 2010-04-26T20:29:45Z Indexed on 2010/04/26 20:33 UTC
Read the original article Hit count: 188

Filed under:
|
|
|
|

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?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about dom