PageSourceSearch

https://i-flashdevice.net/skin/js/form.js

js i-flashdevice.net collected 2026-10-01 16:01:16 UTC 1,238 bytes, 44 lines download raw bytes

1$(".qipncn-form button[type='submit']").click(function(){
2	var codeok = 1;
3	$(".qipncn-form .required input,.qipncn-form .required textarea").each(function(){
4		var prt = $(this).parent();
5		if($(this).val()==''){
6			prt.addClass('has-error');
7			if(prt.find("span.help-block").length){
8				prt.find("span.help-block").show();
9			}else{
10				prt.append("<span class=\"help-block\">请填写此字段</span>");
11			}
12			codeok = 0;
13		}else{
14			prt.removeClass('has-error');
15			prt.find("span.help-block").hide();
16		}
17	});
18	if($(".formcode").length&&codeok==1){
19		$('.formcode').modal('show');
20	}
21	return false;
22});
23
24
25$(".formcode button[type='submit']").click(function(){
26	var code = $(".formcode input[name='code']");
27	var prt = code.parent();
28	if(code.val()==''){
29		prt.addClass('has-error');
30		if(prt.find("span.help-block").length){
31			prt.find("span.help-block").show();
32		}else{
33			prt.append("<span class=\"help-block\">请填写此字段</span>");
34		}
35	}else{
36		prt.removeClass('has-error');
37		prt.find("span.help-block").hide();
38		var value = code.val();
39			value = value.toUpperCase();
40		$(".qipncn-form input[name='code']").val(value);
41		$(".qipncn-form").submit();
42	}
43	return false;
44});

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.