Skip to content

Instantly share code, notes, and snippets.

@r-k-b
Last active May 26, 2016 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-k-b/1ce961bd9b0f1effd8a4bb173325390b to your computer and use it in GitHub Desktop.
Save r-k-b/1ce961bd9b0f1effd8a4bb173325390b to your computer and use it in GitHub Desktop.
Show CRM Custom Field Tag Values
// ==UserScript==
// @name Show CRM Custom Field Tag Values
// @namespace https://gist.github.com/r-k-b/
// @version 1.0.0
// @description Show CRM Custom Field Tag Values
// @author Robert K. Bell
// @homepage https://gist.github.com/r-k-b/1ce961bd9b0f1effd8a4bb173325390b
// @downloadURL https://gist.github.com/r-k-b/1ce961bd9b0f1effd8a4bb173325390b/raw/show-crm-custom-field-tag-values.js
// @include *://*/*
// @grant none
// @run-at context-menu
// ==/UserScript==
/* jshint esnext: true */
(() => {
jQuery('td.custom-val').each( function(index, elem) {
var nameArray = jQuery(elem)
.children('[name^=ct100]')
.attr('name')
.split('cat');
console.log(nameArray);
// FIXME
// jQuery(elem).append( someText );
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment