PageSourceSearch

https://www.diffuz.com/plugins/MacifPSChartePlugin/js/dataEmptyInput.js

js diffuz.com collected 2026-10-03 22:04:56 UTC 875 bytes, 28 lines download raw bytes

1// Manage Form label - input label/text to detect if field is empty
2(function(jQuery) {
3	jQuery('.Dv2_form-styled').find('input').each(function() {
4		if(jQuery(this).val().length > 0){
5			jQuery(this).attr('data-empty', false);
6		}else{
7			jQuery(this).attr('data-empty', true);
8		}
9	});
10
11	 jQuery(document).on("jalios:refresh", function(event) {
12        jQuery('.Dv2_form-styled').find('input').on('input', function (e) {
13			jQuery(e.currentTarget).attr('data-empty', !e.currentTarget.value);
14		});
15
16		jQuery('.Dv2_form-styled').find('input').each(function() {
17			if(jQuery(this).val().length > 0){
18				jQuery(this).attr('data-empty', false);
19			}else{
20				jQuery(this).attr('data-empty', true);
21			}
22		});
23      });
24	
25	jQuery('.Dv2_form-styled').find('input').on('input', function (e) {
26		jQuery(e.currentTarget).attr('data-empty', !e.currentTarget.value);
27	});
28})(jQuery);

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.