User Activity

I am currently Customizing a new page in ServiceNow workspace. For the i have an button in that Workspace when i click that button i have to trigger that one event in Script Includes.
Helpfuls given to