XML code return does not function

Hi Clifton,
Sorry to bother you again so soon. I am using an XML file. It includes a section that handles the user event that you gave me:
I call it from a shared action in the Toolbook DHTML and everything goes well except that it won't return anything. When I try to assign the return value to a variable I get undefined.
Sorry to bother you again so soon. I am using an XML file. It includes a section that handles the user event that you gave me:
- Code: Select all
<function name="myUser" event="user" params="e">
<![CDATA[
/* CLIFTON: You can even make a user event on the sharedAction object.
To access the [value] parameter of the shared action:
var value = e.data OR use e.value
***/
var returnValue;
//My code is here and includes:!!
returnValue = 1;
return returnValue;
]]>
</function>
I call it from a shared action in the Toolbook DHTML and everything goes well except that it won't return anything. When I try to assign the return value to a variable I get undefined.