开发者

Are there any known issues upgrading from jQuery 1.4.1?

开发者 https://www.devze.com 2023-02-07 01:39 出处:网络
开发者_开发问答Does anyone have experience upgrading from jQuery 1.4.1 to 1.4.3 or 1.4.4. I\'m wondering if there are known gotchas.

开发者_开发问答Does anyone have experience upgrading from jQuery 1.4.1 to 1.4.3 or 1.4.4. I'm wondering if there are known gotchas.

Thanks v.


I know few http://api.jquery.com/val/


I had problems with this one recently. To make it work i use $('select options:selected').val() instead of $('select').val() which used to work before 1.4.4.

jQuery 1.4.4 breaks .val() when trying to set the selected option of a select. It works ok in jQuery 1.4.3 and earlier versions.


for the jQuery 1.4.4, .val( true ) for the checkbox type input sets it attribute value=true, not checked=true, leaving checkbox unchecked

If you look in Internet I am sure you will be abl to find more info.

0

精彩评论

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

关注公众号