Skip to Content
0
Former Member
Feb 11, 2009 at 03:04 PM

Javascript to Execute a button or planning function onload of WAD template

38 Views

How do I call a javascript to execute a planning function or a button that has a planning function.

I tried creating a script using script web item and wizard to execute a planning function. The wizard generated a javascript function that has two parameters currentState, defaultCommandSequence

I can call the function inside the body tag using OnLoad but what parameters do I need to pass for currentState and defaultCommandSequence.

Is there any other way of doing. Any help is greatly appreciated.

Thanks