Quantcast
Channel: 运维进行时
Browsing latest articles
Browse All 9 View Live

[评论] 在prototype中遍历表单对象

呵呵,博主,就到你家随便溜溜,别介意哈

View Article



[评论] 在prototype中遍历表单对象

我以前也很迷prototype,后来换jquery了,觉得两个完全不是一个等级的,jquery写插件还是方便多了。

View Article

在prototype中遍历表单对象

在使用prototype的Updater方法提交一个表单时,需要遍历每个表单项的值,一个个给URL变量赋值很麻烦,方法如下: function userinfo_do() { var url = '/center/edit'; pars+=Form.serialize($(editform)); var myAjax = new Ajax.Updater( 'mainpage', url, {...

View Article
Browsing latest articles
Browse All 9 View Live


Latest Images