1 2// JavaScript Document 3$(function(){ 4 5 // change region 6 $('[name=countries_region_id]').change(function(){ 7 if($(this).val()==='O') { 8 $(this).closest('form').find('.element').add('input[type=submit]').not('#countries_region, #countries_region_other').attr('disabled','disabled').css('opacity','0.5') 9 $('#info_other').show(); 10 } else { 11 $(this).closest('form').find('.element').add('input[type=submit]').removeAttr('disabled').css('opacity','1'); 12 $('#info_other').hide(); 13 } 14 }); 15 16 // vote 17 $('[name=countries_region_other]').change(function(){ 18 if($(this).val()!=='') { 19 location.href = 'welcome/vote/'+$(this).val(); 20 } 21 }); 22 23});
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.