Sha256: 262206004b5cd4002c371057f8dd1039fd1478c29ec86d410a8198dfbc65acb3
Contents?: true
Size: 754 Bytes
Versions: 24
Compression:
Stored size: 754 Bytes
Contents
I"æ(function() { $(function() { return $("[data-select-columns]").each(function() { return $(this).on('change', function() { var headers, not_selected, selected, table, table_selector; table_selector = $(this).data('select-columns-target'); table = $(table_selector); headers = $(table_selector + " th"); selected = $(this).find(":selected"); not_selected = $(this).find(":not(:selected)"); console.log(headers); console.log(selected); console.log(not_selected); return selected.each(function(option) { var th_id; th_id = option.attr('value'); return console.log(th_id); }); }); }); }); }).call(this); :ET
Version data entries
24 entries across 24 versions & 1 rubygems