1$(document).ready(function(){ 2 3 var $wpcf7 = $(".wpcf7"); 4 var $cfConfirm = $(".wpcf7c-btn-confirm"); 5 if($wpcf7.length > 0) { // contactfrom7ãããæ 6 if($wpcf7.find('.wpcf7-form-control-wrap').length > 0) { 7 $cfConfirm.on("click", function() { // 確èªãã¿ã³ãã¯ãªã㯠8 var $cfwrap = $wpcf7.find('.wpcf7-form-control-wrap') 9 $cfwrap.each(function(index, el) { // ãã©ã¼ã ãè¤æ°ããæç¨ 10 $this = $(el); 11 if ($this.find("textarea").length > 0) { // textarea 12 var thisVal = $this.find("textarea").val(); // textareaã®valãåå¾ 13 thisVal = thisVal.replace(/\n/g, "<br />"); // textareaã®æ¹è¡ãè£å® 14 }else if ($this.find("select").length > 0) { // select 15 var thisVal = $this.find("option:selected").val(); // selectã®valãåå¾ 16 }else if ($this.find('input[type="checkbox"]').length > 0) { // checkbox 17 var thisVal; 18 $this.find('input[type="checkbox"]:checked').each(function(i, ele) { // 鏿ãããcheckboxãåå¾ 19 if (i === 0) { // åå¾ããvalç¨ã«spanã¿ã°ãçæ 20 thisVal = "<span class='confirm'>" 21 thisVal += $(ele).val(); 22 }else{ 23 thisVal += "</span><span class='confirm'>"; 24 thisVal += $(ele).val(); 25 } 26 if (i == ele.length - 1) { 27 thisVal += "</span>"; 28 } 29 }); 30 }else if ($this.find('input[type="radio"]').length > 0) { // 鏿ãããradioãåå¾ 31 var thisVal = $this.find('input[type="radio"]:checked').val(); // 鏿ãããradioã®valãåå¾ 32 }else{ 33 var thisVal = $this.find("input").val(); // å ¥åãããinputã®valãåå¾ 34 } 35 if (!$this.next(".confirm").length > 0) { // 確èªç»é¢ç¨ã®val表示ç¨ã®spanãçæ 36 $this.after('<span class="confirm"></span>'); 37 } 38 // console.log(thisVal); 39 $this.next(".confirm").empty(); // confirmã®ä¸èº«ã空ã£ã½ã« 40 $this.next(".confirm").html(thisVal); // confirmã®ä¸ã«valãå ¥ãã 41 }); 42 }); 43 } 44 } 45 46 var $wpcf_back = $(".wpcf7c-btn-back"); 47 $wpcf_back.on("click", function(){ 48 $(".wpcf7-form").removeClass('custom-wpcf7c-confirmed'); // 確èªç»é¢ã§ä»ä¸ããã.failedãåé¤ 49 }); 50 51});
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.