jBox Widget - Advanced sample: Confirmations triggered from APL

Study the code to see APL and JS interact: user enters a number which triggers APLJax. It then evaluates the input and asks a prompt (JS using jBox) and user's response is fed back to APL which executes different functions depending on user's choice. Note that the jBox-Dialog is prepared (created) by APL-Statements and then opened when it is needed using the open-Command in JS.

Admittedly this is poor functionality, but the sample is supposed to illustrate the pricinples of working with callbacks in JS and APL to achive best user-experience.

Please enter a number