Thanks. How do I call it from my controller? I tried calling it from
echo "<script> webApp(); </script>";
I am getting these errors in my xdebug window:
Uncaught ReferenceError: webApp is not defined
Uncaught ReferenceError: $ is not defined
Uncaught SyntaxError: Unexpected token var
proof that an old dog can learn new tricks