jquery not running from <body> [closed]
- by Andre
I'm calling a function that's loaded in custom js file in the header.
my.js has
$(document).ready(function(){
function testFunction(){
alert("inside testfunction");
}
});
after a few clicks, this is loaded in the :
$("#someid").live($.myapp.event.play, function(event) {
alert("this works");
testFunction();
});
the alert "this works", fires, but then nothing happens, what am I doing wrong?