PageSourceSearch

https://login.kvmechelen.be/www/scripts/SA/SA_Language_Picker.js?v=4f7f3f204b1edbde

js kvmechelen.be collected 2026-10-02 10:06:22 UTC 699 bytes, 32 lines download raw bytes

1//This script enables/disables the submit button depending on the terms of service check being checked or not
2
3
4$("#chosenLanguage").click(function () {
5    var chosenLanguage = $('#chosenLanguage').text();
6
7    switchLanguage(chosenLanguage.InnerText);
8});
9
10
11
12function switchLanguage(lang) {
13
14    var currentLanguage = lang;
15
16
17    if (currentLanguage === 'nl') {
18        chosenLanguage = 'en';
19    }
20    else {
21        chosenLanguage = 'nl';
22    }
23
24    $('#locale').val(currentLanguage);
25    
26    $('#touch').prop('checked', false);
27    $('#chosenLanguage').html(chosenLanguage);
28    $('#currentLanguage').html(currentLanguage);
29
30    $("#languageform").submit();
31
32}

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.