Q
Problem solve Get help with specific problems with your technologies, process and projects.

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).

Dig Deeper on LotusScript

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close