SyntaxFix
Write A Post
Hire A Developer
Questions
You could also use custom events:
function Typer() { // Some stuff $(anyDomElement).trigger("myCustomEvent"); } $(anyDomElement).on("myCustomEvent", function() { // Some other stuff });