====== Writing Custom JavaScript ======
There are several places within ViziApps where you can insert JavaScript code to transform data, generate and catch events, and extend functionality. This guide will help you get started. If you aren't familiar with JavaScript, please see the **[[#references|References]]** section.
===== JavaScript in the HTML Header =====
Text that you insert in the HTML header {{::html_header_button.png?nolink&100|}} is simply included into your app's **[[http://www.w3schools.com/html/html_head.asp|HTML header]]** when it runs. JavaScript variables and functions that you define in the HTML header have global scope and may be used throughout your ViziApps app. You are allowed to use %%, ,