1function addFloatingSelectLabelOnChangeEvent() { 2 var floatingSelectLabelsJQ = $('div.has-float-label > select'); 3 floatingSelectLabelsJQ.each(function() { 4 updateFloatingLabelCssClass($(this)); 5 }); 6 floatingSelectLabelsJQ.change(function () { 7 updateFloatingLabelCssClass($(this)); 8 }); 9} 10 11function updateFloatingLabelCssClass(selectElementJQ) { 12 if ($.trim(selectElementJQ.val()) === '') { 13 selectElementJQ.addClass('has-placeholder'); 14 } else { 15 selectElementJQ.removeClass('has-placeholder'); 16 } 17} 18 19$(document).ready(function() { 20 addFloatingSelectLabelOnChangeEvent(); 21});
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.