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
146
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
121
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
291
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
670
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
405
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
999
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
240
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/...
2
votes
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
636
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-...
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
1
answer
2k
views
Does jquery-migrate find all "errors" at load or at runtime?
If I'm to upgrade jquery, and I use jquery-migrate to give me warnings on depreciated code, do I need to exercise all functions on the page to catch all things to upgrade, or is it enough to load each ...
0
votes
0
answers
169
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 ...
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 ...
5
votes
1
answer
11k
views
Why do I need jquery-migrate-1.4.1.js after a successful jQuery upgrade?
I am done upgrading jQuery from 1.3.1 to 1.12.4. Everything is working correctly and I am ready to remove jquery-migrate-1.4.1.js because I was only using it for debugging purposes during the upgrade ...
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?...
0
votes
1
answer
850
views
Why jQuery-migrate in not replacing depreciated functions directly in the code?
Im using jQuery-migrate on a big project. I corrected all the warnings I could but now the warnings are inside libraries.
Some libraries are not updated anymore so I can't update them to make them ...
21
votes
1
answer
39k
views
Migrating jQuery from 1.4 to 3.0
I saw that jQuery has the jQuery-migrate script to safely upgrade jQuery. They have two jQuery-migrate repos:
https://github.com/jquery/jquery-migrate (for migrating to 3.x)
https://github.com/jquery/...
0
votes
1
answer
1k
views
jQuery migration from 1.4.2 to latest
I have a legacy application that uses jQuery 1.4.2 and I need to update the version to the latest stable build, so that it doesn't have the vulnerabilities of the old version.
The code base is pretty ...
0
votes
0
answers
162
views
Show/Hide on Scroll working when I remove JQuery-Migrate-3
I have code that works when I remove JQuery Migrate 3.0.1 but when I add it back the code no longer works.
I need Migrate as this is a very old site and I am trying to add new features to it... here ...
0
votes
0
answers
68
views
jQuery Migration. No equivalent to "then"
Hi I have been working on updating jQuery from 1.11 to 3.3.
I installed jQuery migration script which pointed out many of the differences that needed to be made. However, I have found no alternatives ...
0
votes
0
answers
71
views
JQuery 1.4 to 1.12 Selector in not a function with .Not
We are migrating from 1.4 to 1.12 (and then to 3.0).
Why I am receiving this error in 1.12:
TypeError: $allButtons.not(...).button is not a function
var $allButtons = $('....
0
votes
1
answer
654
views
BootstrapDailog is not working in Bootstrap4 with Jquery 3.3.1
I am using BootstrapDialog with Bootstrap4 and Jquery3.3.1 when i call BootstrapDialog.confirm then it will throw an error "Uncaught TypeError: Object.keys called on non-object" in older version of ...
4
votes
1
answer
2k
views
Resolve the console warning "JQMIGRATE: jQuery.event.props.concat() is deprecated and removed" with KendoUI(2018.2.515)
While upgrading jQuery fro 1.9.1 to 3.1.1 usign jquery migrate plugin 3.0.0 ,
I am getting an console warning from migrate plugin like below. How to resolve this ? Upgrading kendo acrosss a big ...
0
votes
0
answers
65
views
$.expr error in jquery migration from v1.4.1 to v1.9.1
I am using this plugin
http://james.padolsey.com/javascript/regex-selector-for-jquery/
and jquery v 1.4.1 and I want to migration from jquery v1.4.1 to v1.9.1.
This code:
var rows = $("#...
4
votes
1
answer
2k
views
Chrome jumps back to top of page after animating the scrollTop to a lower position in window onLoad
After upgrading our site from jQuery 1.10.2 to jQuery 3.3.1, we have the following problem.
We have this JavaScript that makes the page jump to position 500 after loading.
$(window).on("load", ...
0
votes
2
answers
783
views
Using jQuery Address without jquery-migrate
I upgraded jQuery from 1.3.1 to 3.2.1. In the process, I used jquery-migrate-1.4.1.js. When I remove jquery-migrate-1.4.1.js, the page stops working properly until I also remove jquery.address-1.5.min....
0
votes
1
answer
1k
views
Can I use jQuery Migrate 1.4.1 while having jQuery 1.3.1?
My website is running jQuery 1.3.1. I want to use jQuery Migrate 1.4.1 in order to migrate to a newer version of jQuery. According to the official documentation at https://github.com/jquery/jquery-...
5
votes
3
answers
6k
views
How to use jquery-migrate with webpack?
After npm install jquery-migrate, I could just require('jquery-migrate'); in the main scripts.js file. This works fine:
console.log(jQuery.migrateVersion); // JQMIGRATE: Migrate is installed with ...
0
votes
0
answers
585
views
JQuery migrate not working [duplicate]
I am using JQuery 1.6.1 and I want to upgrade it to JQuery 3.0.0 and I did it with jquery-migrate-3.0.0 but got an error TypeError: $(...).live is not a function and why JQuery migrate is working?
...
0
votes
0
answers
3k
views
What should I do with these Javascript-console errors (Wordpress)?
reset.css Failed to load resource: the server responded with a status of 404 (Not Found)
jquery-migrate.js:23 JQMIGRATE: Migrate is installed with logging active, version 1.4.1
jquery-migrate.js:45 ...
-1
votes
1
answer
2k
views
Uncaught TypeError: $(...).accordion is not a function
Hi I am having an error on my Wordpress site and my Accordion menu is not working,
Using: https://wordpress.org/support/plugin/accordions/
Uncaught TypeError: $(…).accordion is not a function.
...
3
votes
0
answers
2k
views
Uncaught TypeError: Cannot set property 'selector' of undefined
I am developing a website for my friend in wordpress, using woocommerce and when I wanted to integrate stripe,...
0
votes
2
answers
159
views
Reactivate code after filter is used
I am not very known with jQuery in combination with jQuery Migrate. The site I am working on uses jQuery 1.12 with Migrate version 1.4.1
After some searching the below script works fine at page load:
...
0
votes
1
answer
5k
views
.split is not a function
Recently i've updated jQuery / jQuery UI of my php/javascript system with jQGrid free in it's latest version and after implemented the use of jQuery 1.11.3 and jQuery Migrate 1.4.1.
After several ...
1
vote
1
answer
3k
views
How can I get rid of the error "Unsupported format of the sourcemap" while loading jquery-migrate.min.js?
I am getting the following error message in the Visual Studio 2013 debug window:
'iexplore.exe' (Script): Loaded http://localhost:4453/Scripts/lib/jquery-migrate.min.js
Unsupported format of the ...
0
votes
1
answer
1k
views
selectmenu('refresh') crashes with "Uncaught TypeError"
On a Wordpress website I am using jQuery 3.1.0 and jQuery UI 1.11.4 from Google CDN:
function my_enqueue_scripts()
{
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ...
1
vote
0
answers
895
views
Cross Site Request Forgery has been found in jquery.js (Included by Wordpress)
I am running a wordpress site for my client. My client had run the security test (using W3AF) on the website and the report is saying that there are CSRF found in the website for jquery.js and jquery....
7
votes
4
answers
54k
views
How to use jQuery Migrate plugin
I'm using jquery 2.0 but would like to also use the jQuery migrate plugin so my website will work on older browsers. However, I've been unsuccessful at getting it to work. I have the following in ...
1
vote
2
answers
422
views
How to add a property to an element?
Keeping in mind the addition of .prop() in jQuery replacing .attr() for many boolean type attributes/ properties of an element. My question is how to add a 'Property' in the following code?
The ...
0
votes
1
answer
1k
views
using two versions of jquery on my website
I'm working on a website on wordpress.
I'm using a jquery slider on my home page, using roundabout jquery slider. this jquery plugin works only with jquery 1.2.1.
It works fine, because I've added ...
1
vote
0
answers
291
views
JQuery migrate 1.2.1 doesn't work with JQuery 1.10.x or greater
We're upgrading a large project from JQuery 1.8 to JQuery 1.11.x
When trying to use the migrate plugin it doesn't seems to have any effect above 1.9.x. We've checked the documentation which says it ...
2
votes
0
answers
418
views
Migrating from "jquery-ui-1.10.3" to "jquery-ui-1.11.0"
I have just started working on some old project which has used jquery-ui 1.10.3. Now i want to migrate to the latest version of jquery-ui i.e. "jquery-ui-1.11.0".
But while migrating there ...