alert-danger', function() $(this).slideUp() ) $body.on('click', 'a. alert-danger').hide() $('#modalloginform').prepend(WPDM.html('div', res.message, 'alert alert-danger')) $('#wpdmloginmodal-submit').html(llbl) else $('#wpdmloginmodal-submit').html(wpdm_js.spinner+' '+res.message) location.href = _lm_redirect_to ) return false ) $body.on('click', 'form. Copyright  2023 CAD Library Login IDPasswordRemember MeForgot Password? LoginDon't have an account yet? Register Now jQuery(function ($) var llbl = $('#wpdmloginmodal-submit').html() var _lm_redirect_to = '/en/how-to-activate-autodesk-products-2018-x-force-bits/' var _lm_logo = ' -content/uploads/2021/07/cropped-fav-icon-libreriaCAD-2.png' var $body = $('body') $('#modalloginform').submit(function () $('#wpdmloginmodal-submit').html(WPDM.html('i', '', 'fa fa-spin fa-sync') + ' Logging In.') $(this).ajaxSubmit( error: function(error) $('#modalloginform').prepend(WPDM.html('div',, 'alert alert-danger')) $('#wpdmloginmodal-submit').html(llbl), success: function (res) if (!res.success) $('form.