Alternative to DOM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2017 03:52 AM
Hi All,
Currently I have a functionality where the number of attachments are suffixed next to the Paper Clip icon in any task record. This is done using a DOM manipulation in a onLoad client script as shown below.
var iconElement = document.getElementById('header_add_attachment');
iconElement.innerHTML = g_scratchpad.num; //This scratch pad value comes from an on display business rule
And this is how the icon looks
Is there any way to achieve this functionality apart from DOM? Please let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2017 03:13 AM
I have already achieved the requirement. I was checking for alternatives and haven't got any yet.