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
68
questions
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 ...
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 ?
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
402
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/
...
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
237
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 ...
3
votes
0
answers
3k
views
Migrating jQuery from 1.12.3 to latest 3.5.1
I am in the process of upgrading jQuery from 1.12.3 to 3.5.1(latest version).
My application is large and we have jQuery version 1.12.3.
While upgrading with help of jQuery migration script, have ...
2
votes
1
answer
16k
views
jQuery upgrade from 1.8.3 to 3.5.1
i know the following is written in the https://jquery.com/upgrade-guide/3.0/ site.
but sadly it's confusing to me.
Use the following steps to upgrade from a version of jQuery older than 1.11.0 or 2.1....
0
votes
0
answers
168
views
Error in jquery-3.0.0.js: "Unable to get property 'exports' of undefined or null reference"
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.
So now I'm trying to upgrade jquery-1.12.4 to 3.0.0 using the ...
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
991
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
195
views
jquery-migrate: filter out warnings from specific files?
I trying to migrate from jQuery 2.2.4 to jQuery 3.4.1, and to that end I'm using jquery-migrate-3.1.0.js.
My problem is that it generates warnings for a library I use (Telerik Kendo UI), over which I ...
9
votes
1
answer
12k
views
jQuery.fn.scroll() event shorthand is deprecated
I'm upgrading jQuery in my project to a recent version 3.4.1. I set up jquery-migrate and look in the browser console to see things I should modify. Among others it reads jQuery.fn.scroll() event ...
0
votes
1
answer
508
views
How does jQuery Migrate plugin look for old code?
Just a conceptual question. Does the migrate plugin search through the javascript files pulled in by the browser? Or does the migrate plugin only look through code that is being executed by the server?...