Hi allI want to pass the document id which is available in the agent where i have written the code in lotuscript.I want to pass this value to javascript function.I inlcuded the javascript file under the files and calling the javascript file in the htmlhead content of the form.
How to pass the value to this .js file.Is it possible?
Does any one have any suggestion ?
Subject: How to pass a the value form a lotuscript to a javascript function
I always pass data between the two languages through a computed-for-display field on the document.
Subject: RE: How to pass a the value form a lotuscript to a javascript function
Hi,thank you u for u’r reply.but my doubt is that i have included the javascript file as.js file under file->shared resources .So how can implent here,could u plz explain
thanks
paula j
Subject: RE: How to pass a the value form a lotuscript to a javascript function
You can’t change your JavaScript library at run-time, if that’s what you mean. But JavaScript doesn’t need to be contiguous – you can write a value to a page outside of the JS library (or file resource, or what have you). All you need to do is make sure that the value assignment is on the web page and appears between tags. You can use your LotusScript to write a value to a computed-for-display field on the form, and mark that field as passthru HTML:
If the variable has already been declared in your library script, you can skip the “var”. The value will be available to any code that runs after that part of the page loads.
Subject: RE: How to pass a the value form a lotuscript to a javascript function
Thanks you Mr.Stan