1(function($) { 2 $(document).ready(function(){ 3 $('#memebrs').submit(function(){ 4 var keyword = $('#keywordSearch').val(); 5 var keyword_disease = $('#keywordDisease').val(); 6 var country = $("#filterCountry").val(); 7 var diseases = $("#filterDisease").val(); 8 var kind = $("#filterKind").val(); 9 10 $.ajax({ 11 type: 'post', 12 url: ajax_object.ajax_url, 13 data: { 14 action : 'members_search', 15 country : country, 16 diseases : diseases, 17 keyword : keyword, 18 keyword_disease : keyword_disease, 19 kind : kind 20 }, 21 beforeSend: function(xhr) { 22 $(".results-list-eurordis-members").html('<p>Loading...</p>'); 23 }, 24 success: function(data) { 25 $(".results-container-eurordis-members").show(); 26 $(".results-list-eurordis-members").html(data); 27 } 28 29 }); 30 31 return false; 32 }); 33 34 35 $('#chooseYourCountry').change(function(){ 36 var disease = $("#chooseYourCountry").val(); 37 $.ajax({ 38 type: 'post', 39 url: ajax_object.ajax_url, 40 data: { 41 action : 'members_search', 42 diseases : disease, 43 federation : 1 44 }, 45 beforeSend: function(xhr) { 46 $(".results-list-european-federation").html('<p>Loading...</p>'); 47 }, 48 success: function(data) { 49 $(".results-container-european-federation").show(); 50 $(".results-list-european-federation").html(data); 51 } 52 }); 53 54 return false; 55 }); 56 57 $('#chooseYourCountry2').change(function(){ 58 var country = $("#chooseYourCountry2").val(); 59 $.ajax({ 60 type: 'post', 61 url: ajax_object.ajax_url, 62 data: { 63 action : 'members_search', 64 country : country, 65 national_alliance : 1 66 }, 67 beforeSend: function(xhr) { 68 $(".results-list-national-alliance").html('<p>Loading...</p>'); 69 }, 70 success: function(data) { 71 $(".results-container-national-alliance").show(); 72 $(".results-list-national-alliance").html(data); 73 } 74 }); 75 76 return false; 77 }); 78 79 80 $('#chooseDiseases').change(function(){ 81 var diseases = $("#chooseDiseases").val(); 82 83 $.ajax({ 84 type: 'post', 85 url: ajax_object.ajax_url, 86 data: { 87 action : 'members_search', 88 diseases : diseases 89 }, 90 beforeSend: function(xhr) { 91 $(".results-list-diseases").html('<p>Loading...</p>'); 92 }, 93 success: function(data) { 94 $(".results-container-diseases").show(); 95 $(".results-list-diseases").html(data); 96 } 97 }); 98 99 return false; 100 }); 101 102 103 104 $('#epag').submit(function(){ 105 var epag_keyword = $('#keywordERN').val(); 106 var epag_ern = $('#chooseERN').find('option:selected').val(); 107 108 $.ajax({ 109 type: 'post', 110 url: ajax_object.ajax_url, 111 data: { 112 action : 'epag_search', 113 epag_keyword : epag_keyword, 114 epag_ern : epag_ern 115 }, 116 beforeSend: function(xhr) { 117 $(".results-list-epag").html('<p>Loading...</p>'); 118 }, 119 success: function(data) { 120 $(".results-container-epag").show(); 121 $(".results-list-epag").html(data); 122 } 123 124 }); 125 126 return false;
127 }); 128 129 $('#search_members').submit(function(){ 130 var keyword = $('#keywordSearch').val(); 131 var country = $('#filterCountry').find('option:selected').val(); 132 var diseases = $("#filterDisease").find('option:selected').val(); 133 134 $.ajax({ 135 type: 'post', 136 url: ajax_object.ajax_url, 137 data: { 138 action : 'members_search', 139 country : country, 140 diseases : diseases, 141 keyword : keyword, 142 }, 143 beforeSend: function(xhr) { 144 $(".results-list-members").html('<p>Loading...</p>'); 145 }, 146 success: function(data) { 147 $(".results-container-members").show(); 148 $(".listing-items").html(data); 149 } 150 151 }); 152 153 return false; 154 }); 155 156 157 }); 158 159 160})( 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.