...
Code Block | ||
---|---|---|
| ||
globals.createNewCustomer(); // invokes the global method |
Code Block | lang | javascript
---|
forms.customers.controller.newRecord(); // invokes a form object from another scope |
Code Block |
---|
function createNewCustomer(){ // a method defined within the 'customers' form scope controller.newRecord(); // invokes the same form |
...
object from within the |
...
form scope. Notice the fully qualified namespace is not required} |