I'm running into difficulty calling a javascript method from a Zenmethod. I pass in a parameter, but in the javascript method the parameter is undefined. Here is the code:
...
<button id="btnSave" caption="Save " onclick="zenPage.doSave();" controlClass="bButton"/>
...
Method doSave() [ ZenMethod ]
{
If (..ID = "AddNew"){
//do save code here
&js<zenPage.doAddNew();> //this works just fine, but there's no parameter
}Else{
//do update code here