1811 posts Time is what you desire most, but waste carelessly.
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 5 years
+6 more
Firsh
says

jQuery 1.9 was released nowadays and the deprecated $.browser is not removed. Expect a sh.strom (support requests) because many many many plugins and themes still use this for browser specific behavior. The new alternative is $.support http://api.jquery.com/jQuery.support/

A good example is prettyPhoto that has this check in its source. It’s been updated almost a year ago and still has jQuery 1.6.1 bundled in it. People have been saying not to use $.browser and that it’ll get removed but I’m sure many of us didn’t get the notice. Please update your plugins and themes asap.

The new method is fine and everything but what about those small, nerve-racking things that happen in IE 6-7-8 that are not necessarily due to them not supporting a specific feature, but simply displaying something differently?

3439 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Achieved the monthly Community Superstar Award
  • Located in United States
+2 more
organicbee
says
1811 posts Time is what you desire most, but waste carelessly.
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 5 years
+6 more
Firsh
says

I see that’s cool, but isn’t it better to code for the new version?

3439 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Achieved the monthly Community Superstar Award
  • Located in United States
+2 more
organicbee
says

I see that’s cool, but isn’t it better to code for the new version?

yup especially for WP themes as its 1.9 is already in WordPress 3.6 alpha

I just posted the tool so people could fix existing things as it doesnt just restore api for broken things

1811 posts Time is what you desire most, but waste carelessly.
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 5 years
+6 more
Firsh
says

Great I didn’t know about that tool. I’ve just learned you can see what the jQuery team is planning on removing etc ahead of time, so I can check that for the future.

5438 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
CodingJack
says

Thanks for the heads up Firsh :)

1811 posts Time is what you desire most, but waste carelessly.
  • Has sold $250,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 5 years
+6 more
Firsh
says

Np.

BTW there is a typo it should say *now removed, instead of *not removed :D

5438 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+10 more
CodingJack
says

Looking over some of the potential issues:

https://github.com/jquery/jquery-migrate/blob/master/warnings.md

One thing I don’t quite understand is the jQuery.attr() change. Here it says not to use it to read property values:

http://api.jquery.com/attr/

I assume this means a native property of an element? Such as:

var p = $("p").attr("attribute", value);
p[0].property = value;

var val = p.attr("property"); // bad usage
val val = p.prop("property"); // good usage

var attr = p.attr("attribute"); // good usage

Is this correct?

4698 posts
  • Provided great contribution to our forums
  • Achieved the monthly Community Superstar Award
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 6 years
+17 more
dtbaker
Moderator
says

Yer – removing .live() from jQuery 1.9 just bit me. Ouch! Time to update some scripz!

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by