Is jQuery 1.4 syntax the same as 1.3 and earlier?
We've written a lot of code in jQuery recently and id like to know if replacing the library with 1.4 will invalidate any of our current code or is the syntax identical?
Thanks 开发者_如何学Goin advance!
Check out the backwards-incompatible section of the JQuery 1.4 Release Notes. It details the type of code which is expected to no longer function in 1.4
- http://jquery14.com/day-01/jquery-14#backwards
jQuery 1.4 is plain JavaScript too. So they are syntactically equivalent. But there are some backwards-incompatible changes you should be aware of.
精彩评论