• Neil Kolban
    April 21, 2016 at 7:38 pm #1644

    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
    April 21, 2016 at 7:46 pm #1647

    Aha!! I found my error. I had coded:

    $(name).method

    when what I should have coded was:

    ${name}.method

    jmac
    April 22, 2016 at 3:37 am #1650

    Neil:

    A mistake an old guy like me makes because he “thinks” the ( ) really is { }.  Small print is the bane of old age 🙂

     

     

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search