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

Execute JavaScript from LotusScript agent

How can I run or execute JavaScript code from a LotusScript agent? Specifically, I would like to run the history.replace JavaScript function from a LotusScript agent.

If I understand your question correctly, simply have your LS agent print the JS to the browser and the browser will execute it. For example:
Print |<SCRIPT language="JavaScript">history.go(-1)</SCRIPT>. Do you mean the location.replace method by chance? As far as I know, there is no history.replace method in JavaScript.

Dig Deeper on Domino Resources - Part 4

  • 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