Page 1 of 1
Get the current user name to the file watermark
PostPosted:Mon Dec 13, 2021 7:35 am
by anita_chiang
I want to use javascript to get the innerHTML attribute of the dom element directly through the id, but I don't know the id name (the current user), I need your help, thank you.
Re: Get the current user name to the file watermark
PostPosted:Sat Dec 18, 2021 9:52 am
by jllort
Sorry, but if you do not describe better your scenario ( maybe some screenshots ) I do not understand the requirement.
Re: Get the current user name to the file watermark
PostPosted:Thu Dec 23, 2021 9:55 am
by anita_chiang
Sorry, jllort.
I tried to set the remember username cookie in login_desktop.JSP, This works fine! But in which path should I go to set the file to retrieve the cookie and add it to the file preview page? Is it in viewer.js?
May you have the best Christmas ever.
Re: Get the current user name to the file watermark
PostPosted:Mon Dec 27, 2021 9:59 am
by jllort
I do not understand the relation between the login username cookie with the watermark?