1$( document ).ready(function() { 2 var select = $("select.bt-select-site"); 3 select.each(function(){ 4 5 var $this = $(this); 6 7 //var select_name = $this.children("option:selected").text(); 8 //$this.siblings("label").text(select_name); 9 10 $this.change(function(){ 11 //var select_name = $(this).children("option:selected").text(), url = $(this).children("option:selected").val(); 12 //$(this).siblings("label").text(select_name); 13 14 var url = $(this).children('option:selected').val(), target = $(this).children('option:selected').attr('data-target'); 15 16 if( url != '' || url !='#' ) { 17 18 if( '_self' == target ){ 19 20 location.href = url; 21 22 } else if( '_blank' == target ){ 23 24 window.open(url); 25 26 } 27 28 } 29 30 31 }); 32 33 }); 34 35 36 });
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.