SyntaxFix
Write A Post
Hire A Developer
Questions
Do this.
$(function(){ var myFunction = function() { alert("myFunction called"); } jQuery(':input').change(myFunction).keyup(myFunction); });