- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 04:41 PM
Hi all,
I tried the two following methods for hiding buttons when I click a button.
Method 1:
$$('#reply_new_view')[0].hide(); // THIS DOES NOT WORK
Method 2:
var items = $$('BUTTON').each(function(item) { // THIS DOES NOT WORK
item.hide();
});
Each method was performed by it self, the pic below has both methods, and it still don't work.
Maybe its something to do with the fact that we are using the san diego version?
please don't add a link to pages that have one of the methods I used.
what am I doing wrong?
If I hit ctrl+j+^ ( to run on the client side, this seems to work perfect )(see send image below)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 06:45 AM
I ended up doing UI action visibility
I was trying to not hit the global obj 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 07:34 PM
Hi
You can use this solution :https://community.servicenow.com/community?id=community_question&sys_id=ea3a33bfdb51c510019ac2230596...
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 06:45 AM
I ended up doing UI action visibility
I was trying to not hit the global obj 😞