- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2016 01:37 PM
I wrote below script in an onload client script on a catalog item but I still see the paper clip icon. Any ideas??
Running on Eureka patch 11
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.disableAttachments();
}
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2016 09:10 AM
In Eureka, it is not a button. My script works post Eureka. Use this in your client script
var list=document.getElementsByTagName("img");
for(var i=0; i<list.length; i++){
if(list[i].title=='Attachments...'){
list[i].style.display='none';
}
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2016 01:42 PM
Hi Bharat,
Can you keep alert statement and check script is trigger or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2016 12:02 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2016 12:07 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2016 12:10 PM
If you want to hide that icon too, use this line in the client script
$('sc_attachment_button').hide()