• Resolved Vu Tru So

    (@vutruso)


    How to remove this jquery. When i load jquery file defer. Consolog notice “Uncaught ReferenceError: jQuery is not defined”

    <script type=”text/javascript”>
    jQuery(document).ready(function($) {
    //$( document ).ajaxStart(function() {
    //});

    for (var i = 0; i < document.forms.length; ++i) {
    var form = document.forms[i];
    if ($(form).attr(“method”) != “get”) {
    $(form).append(‘<input type=”hidden” name=”zYNVtqhAjRkc” value=”rOQXm07w_s*@” />’);
    }
    if ($(form).attr(“method”) != “get”) {
    $(form).append(‘<input type=”hidden” name=”OBiwtmN-nK” value=”e*EFlMvT5y” />’);
    }
    }

    $(document).on(‘submit’, ‘form’, function() {
    if ($(this).attr(“method”) != “get”) {
    $(this).append(‘<input type=”hidden” name=”zYNVtqhAjRkc” value=”rOQXm07w_s*@” />’);
    }
    if ($(this).attr(“method”) != “get”) {
    $(this).append(‘<input type=”hidden” name=”OBiwtmN-nK” value=”e*EFlMvT5y” />’);
    }
    return true;
    });

    jQuery.ajaxSetup({
    beforeSend: function(e, data) {

    //console.log(Object.getOwnPropertyNames(data).sort());
    //console.log(data.type);

    if (data.type !== ‘POST’)
    return;

    if (typeof data.data === ‘object’ && data.data !== null) {
    data.data.append(“zYNVtqhAjRkc”, “rOQXm07w_s*@”);
    data.data.append(“OBiwtmN-nK”, “e*EFlMvT5y”);
    } else {
    data.data = data.data + ‘&zYNVtqhAjRkc=rOQXm07w_s*@&OBiwtmN-nK=e*EFlMvT5y’;
    }
    }
    });

    });
    </script>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove this jquery’ is closed to new replies.