How can I call a LotusScript and agent function from JavaScript?
How can I call a LotusScript and agent function from JavaScript?
You can use a fairly simple and straightforward technique to accomplish this. Simply put the LotusScript code or call to an agent on a button on your form or page. You will probably want to hide this button. Your JavaScript code, perhaps on another button, would have the following code in its click event:
document.forms[0]. lsbuttonname.click()
In this way, executing the JavaScript on a button would execute the LotusScript code (or agent call).