![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
others
huangyiiiiii
这个作者很懒,什么都没留下…
展开
-
用 jquery 加了点 js 效果
代码超简单:$(function(){ $(".box h2").css('cursor', 'pointer'); $(".box h2").click( function(e){ $(this).next().toggle(); } ).click(); $(".post-title").css('cursor', 'pointer'); $(".post-ti...2007-01-26 04:44:26 · 67 阅读 · 0 评论 -
突然想到 之 ajax 和 REST
在最近做的 django+jquery 的开发过程中,突然想到: 感觉有一些框架中自带的一些用来生成 javascript 的 helper 库的作用实在相当有限(至少对于我现在做的,它们完全帮不上忙)。他们应该也就在一些超级简单的 ajax 场景中能发挥一点作用,而对于这些简单场景,使用 jquery 写出来的 javascript 代码还不一定会比 python/ruby 的多。 ...2006-12-28 12:18:37 · 63 阅读 · 0 评论