开发者

What's new in jQuery 1.4?

What's new in jQuery(including UI) and will I have problems(using开发者_开发知识库 UI dialog and datepicker) when switch to 1.4(and 1.8.2) ?


There are some breaking changes. The most important point is to make sure that all plugins you are using has been already updated to the 1.4 support, and use the updated versions only. Then you shouldn't have any issues, or only minor issues that you can eventually easily solve. But the benefits (for example performance) are worth of it.


I liked this one most:

jQuery('<div/>', {
    id: 'foo',
    css: {
        fontWeight: 700,
        color: 'green'
    },
    click: function(){
        alert('Foo has been clicked!');
    }
});

You have a nice collection here as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜