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
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 ...
1
vote
2
answers
2k
views
trigger.focus replaced by $("selector").get(0).focus() in jquery1.9?
When you .trigger("focus") in IE, jQuery won't "see" the async focus event which will occur later, so it fires one of its own to ensure that a focus event always occurs as described above. This causes ...
0
votes
2
answers
861
views
Use of hover throws up jquery-migrate error (jquery 1.9)
Continuation to the question -replacement for hover() in jquery1.9?
if .hover() should still work fine with 1.9, I am seeing the below error in console to replace hover with mouseenter, mouseleave.
...
-1
votes
2
answers
245
views
replacement for hover() in jquery1.9?
How do I use mouseneter mouseleave instead of hover(). Should i use them both instead of hover()?
$('#somegrid').hover(
function () {
//something;
},
What about legacy code - I mean what goes in ...
-1
votes
2
answers
92
views
.data() without arguments - will it work in jquery1.9?
var data = $('.t-grid-header-wrap tr').data();
Will these kind of references to .data work in jquery1.9,
I have a few of them in telerik js files, was unclear whether its removed or only .data("...
1
vote
0
answers
79
views
jquery 1.9 upgrade - change in focus event
Can I blindly replace my .trigger("focus") with $("selector").get(0).focus() according this article?
Order of triggered "focus" events.
0
votes
0
answers
118
views
What is the change in .trigger() in jquery1.9?
http://jquery.com/upgrade-guide/1.9/
I got this below detail from the link. But what is it that is changing in trigger(click)
event? I wasnt clear with this below explanation.
link Checkbox/radio ...
0
votes
1
answer
3k
views
JQMIGRATE: Global events are undocumented and deprecated
We're trying to upgrade our jquery using jquery migrate.
We get the "JQMIGRATE: Global events are undocumented and deprecated" on this code (a wrapper for jquery.ajax):
ajaxPost: function (url, ...
1
vote
3
answers
4k
views
Get browser name by jquery
I use jquery v1.9.1 .I know that jquery.browser is removed in 1.9 but I have to use this. I using migration plugin for get type of browser. Its work fine but for IE(11) and firefox(25+) ,jquery....
8
votes
2
answers
6k
views
How well does the jQuery migrate plugin deal with deprecated code?
I will soon be tasked with upgrading to jQuery 1.9. That said I know a few places where we have live(); toggle(); hover(); and browser(); with a number of surprises on the way, -I'm sure.
If I add ...
0
votes
1
answer
132
views
Trying to retire jquery-migrate
Currently I am using $.browser.webkit and $.browser.msie because the input types between the browsers have plenty of unique UI differences that I am having to accommodate for.
Specifically: Chrome ...