jQuery 1.4 is released

In: web resources

15 Jan 2010

 Powered by Max Banner Ads 

The incredibly popular jQuery library has released jQuery 1.4 on a new website that will celebrate 14 days of jQuery.

There are a lot of new features, and as usual performance gains are showcased.

  • Easy Setter Functions: For a while now, you’ve been able to pass a function into .attr() and the return value of that function is set into the appropriate attribute. This functionalilty has now been extended into all setter methods
  • Ajax: A lot of enhancements to the various remoting functions including support for native JSON parsing, etags, request context, and more
  • .css and .attr have been improved
  • Per property easing on effects
  • If you want to ensure that “this” inside a function will be permanently bound to a particular value, you can use jQuery.proxy to return a new function with that scope
  • New events: focusin and focusout

And Joe Walker will be really excited to see that dojo.create has made it in! :)

JAVASCRIPT:

  1.  
  2. jQuery(“<div />”, {
  3.     id: “foo”,
  4.     css: {
  5.         height: “50px”,
  6.         width: “50px”,
  7.         color: “blue”,
  8.         backgroundColor: “#ccc”
  9.     },
  10.     click: function() {
  11.        $(this).css(“backgroundColor”, “red”);
  12.     }
  13. }).appendTo(“body”);
  14.  

Congrats to the jQuery team. I look forward to seeing posts over the next 2 weeks that go into more detail on the new coolness.

Go to Source

2 Responses to jQuery 1.4 is released

Avatar

plavacekNo Gravatar

February 13th, 2010 at 8:34 am

That's not how JSON most commonly works. JSON is JavaScript Object Notation – it's designed to be read by JavaScript as a return of an asynchronous request. Like, browser-side, not server-side.

If you insist on parsing JSON in PHP, here you go:

http://www.php.net/json

Avatar

Howard LNo Gravatar

March 17th, 2010 at 4:59 am

Horsepower is related to torque X RPM. Take note of the RPM for the stated horsepower. Auto engine are usually measured above 5,000 RPM, motorcycles about 10,000 RPM, aero engines at about 2,500 to achieve high propeller efficiency. There have been many conversions of auto engines to airplane use, mostly homebuilts. This is usually done to save money because car engines cost less due to high production volume. Auto engines need a transmission or belts and pullets to drop the propeller RPM down into the 2,500 RPM range. The weight and reliability issues of the transmission or belts and pulleys are the main reasons this is not widely done. Power to weight is extremely important in aircraft, not power per CID so aero engines are designed for minimum weight per horsepower not maximum power per CID. Aero engines are not designed for high RPM but if they were their horsepower would be similar.

Comment Form


 Powered by Max Banner Ads 

About this blog

This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.

  • Tony Q: From Wikipedia: One possible explanation for "flu season" is that, because people are i [...]
  • Biz Advisor: Typically the Marketing VP or Manager or Director (senior marketer) is responsible for the marketing [...]
  • Rashiida S: use the curvature equation for find the curvature funtion for x^3 ( it's in the book) now, take [...]
  • General TSO: So long as it is not freezing, and you are just storing it, not running it you should be ok. [...]
  • Corey: try www.cyberpowerpc.com [...]

New offer:


 Powered by Max Banner Ads 
Internet MegaMeeting, LLC Microsoft Store LinkShare  Referral  Program Iolo technologies, LLC Artisteer - Web Design Generator FTPress.com (Pearson Education) Mobile Security: Parental Controls and Monitoring Atom Entertainment (formerly AtomShockwave)
.
Web Analytics