Home > Ask the Domino Experts > Questions & Answers > How can I call a LotusScript and agent function from JavaScript?
Ask The Domino Expert: Questions & Answers
EMAIL THIS

How can I call a LotusScript and agent function from JavaScript?

Maureen Leland EXPERT RESPONSE FROM: Maureen Leland

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site
>
QUESTION POSED ON: 28 August 2003
How can I call a LotusScript and agent function from JavaScript?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


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




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts