PageSourceSearch

https://www.chateaudevolognat.fr/wp-content/mu-plugins/jmtg_wordpr…/_javascript/javascript.js?ver=7.1.3

js chateaudevolognat.fr collected 2026-10-07 16:21:15 UTC 1,273 bytes, 66 lines download raw bytes

1jQuery(document).ready( function() {
2
3	var button_id = "input.jmtg_checkbox_option_update";
4	
5	jQuery(button_id).change( function(e) {
6
7		alert(button_id);
8
9		if (this.checked) {
10			var value = "checked";
11		}
12		else {
13			var value = "unchecked";
14		}
15
16		var option 		= jQuery(this).attr("data-option");
17
18		e.preventDefault(); 
19
20		jQuery.ajax({
21			type : "post",
22			dataType : "json",
23			url : myAjax.ajaxurl,
24			data : {action: "modify_option" , option : option, value : value},
25			success: function(response) {
26			},
27			error: function(response) {
28				alert('failed');
29				alert(response.html);
30			}
31		})
32
33	})
34 
35})
36
37jQuery(document).ready( function() {
38
39	var button_id = "input.jmtg_input_option_update";
40
41	
42	jQuery(button_id).change( function(e) {
43		alert(button_id)
44
45		var option 		= jQuery(this).attr("data-option");
46		var value 		= jQuery(this).val();
47
48		e.preventDefault(); 
49
50		jQuery.ajax({
51			type : "post",
52			dataType : "json",
53			url : myAjax.ajaxurl,
54			data : {action: "modify_option" , option : option, value : value},
55			success: function(response) {
56				alert('Option '+option+' updated');
57			},
58			error: function(response) {
59				alert('failed');
60				alert(response.html);
61			}
62		})
63
64	})
65 
66})

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.