- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2014 05:02 AM
Hi,
I am trying to hide the attachment icon on header with below code in Eureka in an on load client script but it is not hiding the icon.
var attachment_header = document.getElementById('header_attachment_list');
attachment_header.style.display='none';
Any help or advise will be highly appreciated.
Sami.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2014 06:28 AM
Can you try hiding the attachment icon using below script
$$('img[title="Attachments..."]')[0].up().up().down().hide();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2014 06:28 AM
Can you try hiding the attachment icon using below script
$$('img[title="Attachments..."]')[0].up().up().down().hide();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2014 09:32 AM
Excellent Dhananjay,It worked.Many thanks for your help.
Sami.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2015 07:56 PM
Hi Sami,
Can you please confirm if this code works for Fuji? I have the following on load client script on change form. but seems like the code doesnt hide the attachment paper clip, any suggesstion??
function onLoad() {
//Type appropriate comment here, and begin script below
$$('img[title="Attachments..."]')[0].up().up().down().hide();
}
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2014 02:29 PM
If you prefer jquery:
$j('img[title="Attachments..."]').hide();
Or vanilla js:
document.querySelectorAll('img[title="Attachments..."]')[0].style.display = 'none';
Make sure to test in your supported browsers...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2015 07:56 PM
Hi All
Can you please confirm if this code works for Fuji? I have the following on load client script on change form. but seems like the code doesnt hide the attachment paper clip, any suggesstion??
function onLoad() {
//Type appropriate comment here, and begin script below
$$('img[title="Attachments..."]')[0].up().up().down().hide();
}
thanks in advance.