3月 26
替换掉Prototype为1.5之后,发现了一个Bug,找了半天。发现是一个函数在1.5和1.4中有差别。

//1.4
Element.toggle(elem1 [, elem2 [, elem3 [...]]]) //      instance      elemN: element object or id   Toggles the visibility of each passed element.
//1.5版本不再支持多参数
Element.toggle(element)  // instance     element: element object or id        Toggles the visibility of the element.
 
Defined tags for this entry:

作者 rollenc

| 主要出源 (0)
请对 365 天内更新的文章进行打分
当前分数: 2.86 of 5 。 7 次打分。 250 次点击
Bookmark prototype竟然在1.5中改变了以前的函数接口!  at del.icio.us Digg prototype竟然在1.5中改变了以前的函数接口! Mixx prototype竟然在1.5中改变了以前的函数接口! Bloglines prototype竟然在1.5中改变了以前的函数接口! Technorati prototype竟然在1.5中改变了以前的函数接口! Fark this: prototype竟然在1.5中改变了以前的函数接口! Bookmark prototype竟然在1.5中改变了以前的函数接口!  at YahooMyWeb Bookmark prototype竟然在1.5中改变了以前的函数接口!  at Furl.net Bookmark prototype竟然在1.5中改变了以前的函数接口!  at reddit.com Bookmark prototype竟然在1.5中改变了以前的函数接口!  at blinklist.com Bookmark prototype竟然在1.5中改变了以前的函数接口!  at Spurl.net Bookmark prototype竟然在1.5中改变了以前的函数接口!  at NewsVine Bookmark prototype竟然在1.5中改变了以前的函数接口!  at Simpy.com Bookmark prototype竟然在1.5中改变了以前的函数接口!  at blogmarks Bookmark prototype竟然在1.5中改变了以前的函数接口!  with wists Bookmark prototype竟然在1.5中改变了以前的函数接口!  at Ma.gnolia.com wong it! Bookmark using any bookmark manager! Stumble It!

0 引用

  1. 没有引用

0 回复

回复显示方式(直线程 | 分线程)
  1. 没有回复

新增回复


You can use [geshi lang=lang_name [,ln={y|n}]][/lang] tags to embed source code snippets
电子邮件地址将不会被显示,而仅将被用于发送电子邮件通知

为了阻止机器人提交垃圾回复,请在相应的文本框中输入你在下面的图片中所看到的字符串。只有在你输入的字符串和图片中的字符串吻合的情况下,你的回复才能被成功提交。请确认你的浏览器支持、并且已经开启了cookies功能,否则的话,你的回复无法被正确地验证。
CAPTCHA