开发者

What's new in jQuery 1.4?

开发者 https://www.devze.com 2023-01-08 14:13 出处:网络
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 i

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

精彩评论

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