1jQuery(document).ready(function($) { 2 $('.pt-cv-ctf-campaign_page_id .pt-cv-ctf-value').each(function() { 3 var value = $(this).text().trim(); 4 5 // Construct the link with the value and change the link text to "view event" 6 var link = '<a href="https://support.nynjtc.org/page/' + value + '/event/1" target="_blank">view event</a>'; 7 8 // Replace the text with the link 9 $(this).html(link); 10 }); 11}); 12 13jQuery(document).ready(function($) { 14 // Find the input field with class 'facetwp-search' 15 var $input = $('.facetwp-search'); 16 17 // Check if the input already has an ID 18 if ($input.attr('id') === undefined) { 19 // Generate a unique ID 20 var uniqueId = 'facetwp-search-' + Math.random().toString(36).substr(2, 9); 21 $input.attr('id', uniqueId); 22 } 23 24 // Create a new label element 25 var $label = $('<label for="' + $input.attr('id') + '">Search:</label>'); 26 27 // Add a class to the label for styling 28 $label.addClass('sr-only'); 29 30 // Insert the label before the input field 31 $input.before($label); 32});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.