PageSourceSearch

https://www.wata.org/static/assets/js/my.js?v=1791080142

js wata.org collected 2026-10-04 02:16:05 UTC 1,631 bytes, 59 lines download raw bytes

1	$(document).ready(function() {
2	  $('.viewpassword').click(function() {
3		var field = $(this).attr('data-field');
4	    var input = $('#'+field).attr('type');
5	    if (input === 'password') {
6	      $('#'+field).attr('type', 'text');
7		  $(this).html('<img src="/static/my/img/eye.svg" class="w100">');
8	    } else {
9	      $('#'+field).attr('type', 'password');
10		  $(this).html('<img src="/static/my/img/uneye.svg" class="w100">');
11	    }
12	  });
13	});
14	//判断是否是汉字、字母、数字组成
15	function validateChinaOrNumbOrLett(s){
16	  var regu = "^[0-9a-zA-Z\u4e00-\u9fa5]+$";
17	  var re = new RegExp(regu);
18	  if (re.test(s)) {
19		return true;
20	  }else{
21		return false;
22	  }
23	}
24	//是否汉字
25	function validateChinese(str) {
26	    var reg = /^[\u4e00-\u9fa5]+$/; // 只包含汉字的正则表达式
27	    if (reg.test(str)) {
28	        return true; // 输入符合要求,返回true
29	    } else {
30	        return false; // 输入不符合要求,返回false
31	    }
32	}
33	//验证Email格式
34	function validateEmail(Email) {
35	  if (Email==null || Email == "") {
36	    return false;
37	  }	else {
38	    var r = /^[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}$/;
39	    if (r.test(Email)) {
40	      return true;
41	    } else {
42	      return false;
43	    }
44	  }
45	}
46	//验证手机格式
47	function validateMobile(mobile) {
48	  var reg = /^1[3456789]\d{9}$/;
49	  if(reg.test(mobile)){
50	    return true;
51	  }else{
52	    return false;
53	  }
54	}
55	function addtobuy(url,divid){
56		$('#'+divid).prop('onclick', null);
57		$('#'+divid).prop('onclick', false);
58		window.location = url,divid;
59	}

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.