Neil Kolban
I am practicing event handling and have defined the following for an “On Click” on a button:
$(MyAlert).appendAlert("", "Hello World");
`
I have an “Alerts” Coach View in the Coach with an identity of “MyAlert”. Unfortunately, when I click on the button, a browser side JavaScript error is produced. The error is “$ is not defined”. See the attached screen shot. I am using latest IBM BPM 8.5.7 with Client Side Human Services.
Neil Kolban
Aha!! I found my error. I had coded:
$(name).method
when what I should have coded was:
${name}.method
jmac
Neil:
A mistake an old guy like me makes because he “thinks” the ( ) really is { }. Small print is the bane of old age 🙂