1//ã 2 3$(function(){ 4 if ($('#blastform').length){ 5 $('button[name=regist]').on('click',function(){ 6 var errMSG = new Object(); 7 $('#blast-error').removeClass('open'); 8 $('#blast-error ul').children().remove(); 9 $('#blastform .attention').remove(); 10 if ($('#i-name').val().length == 0){ 11 errMSG['#i-name'] = 'ãååãå ¥åããã¦ãã¾ããã'; 12 } else if ($('#i-name').val().length > 100) { 13 errMSG['#i-name'] = 'ãååã¯100æå以å ã§å ¥åãã¦ãã ããã'; 14 } 15 if ($('#i-email').val().length == 0){ 16 errMSG['#i-email'] = 'ã¡ã¼ã«ã¢ãã¬ã¹ãå ¥åããã¦ãã¾ããã'; 17 } else if(!$('#i-email').val().match(/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/)){ 18 errMSG['#i-email'] = 'ã¡ã¼ã«ã¢ãã¬ã¹ã®å½¢å¼ãæ£ããããã¾ããã'; 19 } 20 if ($('#i-state').val().length == 0){ 21 errMSG['#i-state'] = 'ãä½ã¾ãã®å°åã鏿ããã¦ãã¾ããã'; 22 } 23 if ($('#i-date').val().length == 0){ 24 errMSG['#i-date'] = 'æ¥ã鏿ããã¦ãã¾ããã'; 25 } 26 if ($('#i-month').val().length == 0){ 27 errMSG['#i-month'] = 'æã鏿ããã¦ãã¾ããã'; 28 } 29 if ($('#i-year').val().length == 0){ 30 errMSG['#i-year'] = 'å¹´ã鏿ããã¦ãã¾ããã'; 31 } 32 if ($('#i-privacy').prop("checked") != true){ 33 errMSG['#i-privacy'] = 'å人æ å ±ä¿è·æ¹éãã確èªã®ä¸ãå©ç¨ãã ããã'; 34 } 35 if ($('#i-thanks').val() != 'éä¿¡äºç´ãããå ´åã¯éã'){ 36 errMSG['#i-thanks'] = 'ã礼ã¡ã¼ã«ãéä»ã§ãã¾ããã'; 37 } 38 if (!isEmpty(errMSG)){ 39 $('#blast-error').addClass('open'); 40 $('#blast-error ul').append('<li class="fc-red">ã¨ã©ã¼ãçºçãã¾ããã</li>'); 41 $.each(errMSG, function(key, val) { 42 $(key).parents('dd').prepend('<p class="attention">'+val+'</p>'); 43 }) 44 return false; 45 } 46 }); 47 } 48}); 49 50function isEmpty(obj){ 51 return !Object.keys(obj).length; 52}
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.