Skip to main content

Questions tagged [jquery-migrate]

jQuery Migrate can be used to detect and restore APIs, features or functionality that have been deprecated in jQuery and removed as of version 1.9.

jquery-migrate
0 votes
0 answers
140 views

jQuery is not compatible with Quirks Mode - for DTD html 4.0 transitional <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

I have below tag in my aspx page <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> When I did jquery migrate , I am getting jQuery is not compatible with Quirks Mode I ...
0 votes
0 answers
117 views

Migrate jquery 1.7.1 to 2.2.4 and $(document).foundation();

I got this in the console in the Chrome browser. Snapshot of the console i Chrome I'm trying to upgrade jquery 1.7.1 to 2.2.4 in my mvc site and I use Foundation 5. I have already got some tip about ...
2 votes
1 answer
3k views

"Jquery is undefined" while migrating from jquery 1.12.4 to 3.5.1

I'm working on upgrading a web-app that uses jquery-1.9.1, jquery-ui-1.10.3, runs on a JBoss AS 7.0 server and uses Internet Explorer-11. I need to upgrade jquery to the latest version, which is ...
0 votes
1 answer
287 views

Update Javascript library JQuery Migrate from version 1.x to latest stable version 3.4.0

I am currently working on a code which has Javascript library Jquery Migrate which currently uses version 1.4.1. Can someone guide me how can I update the Jquery Migrate library to version 3.4.0 ?
2 votes
1 answer
669 views

Confusion around multiple jQuery versions, .noConflict, and jQuery migrate

I have a project that is a massive website, and I was brought in to make the website responsive. I went with bootstrap for the framework, and quickly ran into issues with the jQuery version being used ...
5 votes
4 answers
4k views

How to load jQuery Migrate for jQuery via RequireJS?

Can I load jQuery migrate via RequireJS? I don't understand how the timing can be handled correctly. See this example: require([ 'jquery', 'jqmigrate' ], function ($) { if ($.browser.msie) {...}...
0 votes
2 answers
1k views

$.trim().val is not a function

I am working on updating jQuery version of our applications from jquery version 1.7 to 3.6 so, I am facing issue with 'trim' method. we have used trim method like in old jQuery version but it has ...
0 votes
1 answer
403 views

No warning from jquery Migrate plug-in when using removeProp() incorrectly

Before I explain the issue let me tell you I am clearly aware that jQuery removeProp should not be used on native properties such as disabled, checked and selected. https://api.jquery.com/removeProp/ ...
0 votes
1 answer
993 views

I can’t remove jquery-migrate (wordpress)

I’m trying to remove jquery-migrate.min.js. I tried these codes. //Remove JQuery migrate function remove_jquery_migrate( $scripts ) { if ( ! is_admin() && isset( $scripts->registered['...
1 vote
1 answer
2k views

Shouldn't we use jQuery Migrate in production environment?

I found the website below saying that jQuery Migrate should not be used in production environment. https://forum.jquery.com/topic/jquery-migrate-plugin-in-production I looked for the information for ...
1 vote
0 answers
238 views

Does jQuery still have XSS vulnerabilities when we upgrade the version with jQuery Migrate and do not replace the deprecated methods?

The website below says that jQuery Migrate restores the deprecated methods which older jQuery has. https://github.com/jquery/jquery-migrate Does jQuery still have XSS vulnerabilities when we upgrade ...
2 votes
1 answer
2k views

jQuery Migrate Plugin showing Errors

As per my knowledge, jQuery migrate restores the APIs that were removed, and shows warnings in the browser console when removed and/or deprecated APIs are used. "That way you can spot and fix what ...
12 votes
4 answers
23k views

How do I stop WordPress loading jQuery and jQuery-migrate?

WordPress is loading the following 2 files in wp_head(): <script type='text/javascript' src='http://example.com/wp-includes/js/jquery/jquery.js?ver=1.10.2'></script> <script type='text/...
1 vote
3 answers
3k views

JQMIGRATE: easing function "jQuery.easing.swing" should use only first argument

I am upgrading my JQuery V1.9.1 to V3.0 and I am using the "jquery migrate 3.0". I have this warning in my Console : JQMIGRATE: easing function "jQuery.easing.swing" should use only first argument ...
2 votes
1 answer
635 views

How to find the source of the jQuery error?

I have a page which references jQuery 3.3.1, jQuery-Migrate 1.4.1 and Bootstrap 3.3.7. When I click anywhere on the page, I get the following error in the console: jquery-3.3.1.js?v=2018.8.0.1-...

15 30 50 per page
1
2 3 4 5