English 中文(简体)
在将酒类从1.4.x升至1.6.x时,我想做些什么。
原标题:What do I want to do when upgrading jQuery from 1.4.x to 1.6.x
  • 时间:2011-10-26 18:43:36
  •  标签:
  • jquery

目前,我使用14.4个站点,考虑升级至最新(1.6.4)。 在你的经验中,我为什么要取而代之(我把它放在我的服务器上)。 我应当仔细研究什么?

最佳回答
问题回答

可破碎的东西是原始的。 请:

  • check the plugin official compatibility notes
  • carefully test each feature that relies on plugins

检查发放情况说明,看看突发变化。 看看其中是否有任何内容会影响你的法典,并从中去。

我的项目b/c中的一个项目仍在使用1.4.2。 处理麻省请求/数据的方式有一些变化(不确切记住什么),而且完全打破了我的许多具有约束力的模式。

j1.6中有一些杂质。

例如,<代码>defaultValue和checked 一直被认为是“财产”,但过去,酒类接触到的就是“收益”。 j 质量1.6现在正确获得“properties”和prop。 而不是attr

因此,可 > 要求更新使用<代码>attr(>和removeAttr(>,酌情改为prop(>removeProp(>>)。

否则,检查每个原始网站,看看是否有更新和适用。 然后,更新 j,看情况。 你们总是会回头来。

在升级后,你应检查任何烟.的gin果,并更新这些gin测试。 放弃应当是无休止的。





相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...

热门标签