PageSourceSearch

https://ascensionworks.tv/wp-content/plugins/woo-subscription-canc…uestionnaire-premium-public.js?ver=06:00:27

js ascensionworks.tv collected 2026-10-02 06:04:20 UTC 1,588 bytes, 49 lines download raw bytes

1function zfunction_checkbox_required(elClass) {
2    el=document.getElementsByClassName(elClass);
3
4    var atLeastOneChecked=false;//at least one cb is checked
5    for (i=0; i<el.length; i++) {
6        if (el[i].checked === true) {
7            atLeastOneChecked=true;
8        }
9    }
10
11    if (atLeastOneChecked === true) {
12        for (i=0; i<el.length; i++) {
13            el[i].required = false;
14        }
15    } else {
16        for (i=0; i<el.length; i++) {
17            el[i].required = true;
18        }
19    }
20}
21
22function other_radio_option(element,id){
23  var text_field = document.getElementById("text___"+id);
24  var label_field = document.getElementById("label___"+id);
25  label_field.style.display = element.checked ? "none" : "inline-block";
26
27  var x = document.createElement("INPUT");
28  x.setAttribute("type", "text");
29  x.style.display = "inline-block";
30  x.style.width = "90%";
31  x.name = element.name;
32  x.className = "woo_subscription_cancellation_questionnaire_premium___css___othertext";
33  x.required = true;
34  x.id = "text___"+id;
35  if (element.checked){
36    label_field.parentNode.insertBefore(x, label_field.nextSibling);
37  }else{
38    document.getElementById("text___"+id).remove();
39  }
40}
41function unchcked_other_radio_option(element,id){
42  if (document.getElementById("element___"+id).type != "checkbox"){
43    var text_field = document.getElementById("text___"+id);
44    var label_field = document.getElementById("label___"+id);
45    // text_field.style.display = "none";
46    label_field.style.display = "inline-block";
47    document.getElementById("text___"+id).remove();
48  }
49}

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.