In the script editor ..... hit Ctrl-shift-F5 or under the window menu make sure it is checked on. Each object on your form can have its own script. Highlight the obejct you want to script on and in the script editor you can choose the event that the script will run on (top left), the language that you are writing your script in (mid right)and the location that the script will run - Client or Server or Both (top right). Leave this as client.