Sha256: 2460dfe8de4b7ca22e8bef2203bc0f9a4a8cd1d14cd99268dba3ff3135d26fcf
Contents?: true
Size: 815 Bytes
Versions: 24
Compression:
Stored size: 815 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() { var column_index, th_id; th_id = $(this).attr('value'); column_index = table.index(th_id); return console.log(column_index); }); }); }); }); }).call(this); :ET
Version data entries
24 entries across 24 versions & 1 rubygems