DOM manipulation in client script
This content was last updated in 2022. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2019 06:34 AM
I want to hide (x) icon using client script, how can I use it in getElementById
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2019 06:37 AM
Hi,
You will need to add delete ACL on the Tags table(label) to prevent users from removing it. Please try adding an ACL for it and see if it works for you.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2019 07:00 AM
ACL doesn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2019 12:43 PM
Did you happen to see this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2020 08:40 AM
function onLoad() {
addAfterPageLoadedEvent(function(){
var w = false;
if (top.document.getElementById('gsft_main'))
w = top.document.getElementById('gsft_main').contentWindow.document;
if (!w) {
if (document) { w = document; }
else if (top) { w = top.document; }
}
var btn = w.getElementById('cxs_maximize_results');
if (btn)
btn.click();
});
}