PageSourceSearch

https://www.rubberstudy.org/js/registration.js

js rubberstudy.org collected 2026-09-28 11:22:20 UTC 1,177 bytes, 27 lines download raw bytes

1$(function() {
2    $('#toggle_event_editing button').on('click', function() {
3        if ($(this).hasClass('locked_active') || $(this).hasClass('unlocked_inactive')) {
4            $('.reg_type_info').html('Organization is selected');
5            $('.organization-name-section').show();
6            $('#registration_type').val('organization');
7        } else {
8            $('.reg_type_info').html('Individual is selected');
9            $('.organization-name-section').hide();
10            $('#registration_type').val('personal');
11        }
12        
13        /* reverse locking status */
14        $('#toggle_event_editing button').eq(0).toggleClass('locked_inactive locked_active btn-default btn-info');
15        $('#toggle_event_editing button').eq(1).toggleClass('unlocked_inactive unlocked_active btn-info btn-default');
16    });
17
18    $('.registrationtype').on('click', function() {
19        if ($(this).val() == 'individual') {
20            $('.organization-name-section').hide();
21            $('#registration_type').val('personal');
22        } else {
23            $('.organization-name-section').show();
24            $('#registration_type').val('organization');
25        }
26    });
27});

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.