Posted: 13 Feb 2017 15:18 EST Last activity: 14 Feb 2017 9:32 EST
How to get the value of a clipboard propery in java script
I am using a java script function and i want to get the value of a clipboard property in the funciton. if i use <pega:reference> or JSP tags the value is taken when the script is loaded. But how to get the update value if the property changes.
The answer to your question depends upon whether or not the DOM is immediately refreshed if the value changes. The value might change by a direct user action in the UI (in which case the DOM has the value), or it might change because you've run an activity on the server and the new value is on the clipboard and it has not yet been refreshed in the UI. In the latter case, do you want the UI to refresh, or do you not care?