• Todor
    July 5, 2017 at 5:18 am #4467

    What is the way to call a custom defined function in Custom HTML <script> funciton myFunction(){..}</script> from the onResult of Service Call.

    Tried @myFunction() nothing happens.

    Tried myFunction only and have JS Error :
    Error in [eventON_SVCRESULT] inline event handling logic for view /ValidateTeamNameService (UID=0)

    ReferenceError: myFunction is not defined[Learn More]

    I can call alert() from onResult.

    Todor
    July 5, 2017 at 5:42 am #4468

    Get that one resolved too.

    It seems there was a JS error in the <script> which rendered all JS functions in it unrecognisable. I wish there was a more robust way to detect this type of errors. Example, rendering only the function with this specific error would have showed there was a problem with it, not with all functions.  I lost 4 hours due to this problem.

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

You must be logged in to reply to this topic.

Start typing and press Enter to search