samuel1992 最近的时间轴更新
samuel1992

samuel1992

V2EX 第 128591 号会员,加入于 2015-07-23 20:24:10 +08:00
samuel1992 最近回复了
2015-07-24 14:25:01 +08:00
回复了 cbsw 创建的主题 程序员 中国好程序员: Coursera 之 Peking University 系列计算机课程
老师讲课的节奏让人昏昏欲睡,没有个轻重缓急
2015-07-24 11:50:00 +08:00
回复了 samuel1992 创建的主题 HTML 今天看到一行代码<a href="href.do" action="action.do">
```$('#btn').click(function(e){
`````......;
`````$(".commin_table a").each(function(e){
```````var obj=$(this);
```````var href=$(this).attr(action);
```````$.post(href,......);
`````}
```}
重新派下版
2015-07-24 11:47:31 +08:00
回复了 samuel1992 创建的主题 HTML 今天看到一行代码<a href="href.do" action="action.do">
@abelyao 我仔细看了一下,确实是ajax异步处理。
```$('#btn').click(function(e){
......;
$(".commin_table a").each(function(e){
var obj=$(this);
var href=$(this).attr(action);
$.post(href,......);
}
}
但是这样写是不是意味着href没有用
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5575 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 08:32 · PVG 16:32 · LAX 01:32 · JFK 04:32
Developed with CodeLauncher
♥ Do have faith in what you're doing.