I want to know how can we write the below code snippet in a Javascript library :
<SCRIPT FOR="eventlib" EVENT="MyEvent(strTest)">
alert("Uploading files...please wait");
</SCRIPT>
and also below code snippet:
<SCRIPT LANGUAGE="JScript">
function ctrl::ClickEvent(a,b)
{
alert("MyWindowControl_ClickEvent");
}
</SCRIPT>
I am getting syntax error when I try to write the above snippets in a Javascript LIBRARY .
You can't include the script tags when inserting into a Lotus Notes javascript library. Only functions.
Instead of writing the Script block, we can write a Javascript function. From the event handler we can call it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.