本篇文章主要分享下在使用jqueryajax时防止重复提交的办法,其实方法很简单,就是在用户点击了提交按钮之后将按钮设置为不可点击即可,具体代码如下: 1 $('#submit').click(function(){ 2 var objButton=$(this); 3 var cont...
分类:
其他好文 时间:
2014-09-27 12:06:09
阅读次数:
153
error: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).解决方法:set the "Build Active Architecture Only" and ...
分类:
其他好文 时间:
2014-09-26 23:28:08
阅读次数:
233
前面介绍ASM算法(http://blog.csdn.net/carson2005/article/details/8194317)的时候,笔者提到,ASM是基于统计形状模型的基础上进行的,而AAM则是在ASM的基础上,进一步对纹理(将人脸图像变形到平均形状而得到的形状无关图像g)进行统计建...
分类:
移动开发 时间:
2014-09-26 21:53:08
阅读次数:
221
对TCP/IP、UDP、Socket编程这些词你不会很陌生吧?随着网络技术的发展,这些词充斥着我们的耳朵。那么我想问:1.什么是TCP/IP、UDP?2.Socket在哪里呢?3.Socket是什么呢?4.你会使用它们吗?什么是TCP/IP、UDP?TCP/IP(Transmission Cont....
分类:
其他好文 时间:
2014-09-26 09:20:58
阅读次数:
262
今天要实现一个需求,当用户触摸HOME键,将应用切换到后台时,启动自动备份的任务。这涉及到ios的后台任务处理,本文简单总结一下首先,ios app有5种状态,分别是:not running, inactive, active, background, suspended,详情请看官方的guide:...
分类:
移动开发 时间:
2014-09-25 15:22:39
阅读次数:
247
<!DOCTYPEhtml>
<html>
<head>
<metacharset="utf-8">
<title></title>
<style>
a{
color:black;
}
a:visited{
color:purple;
}
a:hover{
color:red
}
a:active{
color:blue;
}
</style>
</head>
&..
分类:
Web程序 时间:
2014-09-25 11:42:49
阅读次数:
254
Enabling Active Directory Authenticationfor VMWare Server running on LinuxVersion 0.2 - Adam Breidenbaugh - 2007-06-29PurposeThe purpose of this guide...
分类:
系统相关 时间:
2014-09-25 05:17:28
阅读次数:
523
简介
Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。
输出信息含义
执行netstat后,其输出结果为
01
Active Internet connecti...
分类:
Web程序 时间:
2014-09-25 02:49:19
阅读次数:
338
(一)、调用本地联系人: Intentintent=newIntent(Intent.ACTION_PICK);intent.setType(ContactsContract.Contacts.CONTENT_TYPE);startActivityForResult(intent,PICK_CONT...
分类:
移动开发 时间:
2014-09-24 22:23:37
阅读次数:
198
Controller是MVC中比较重要的一部分。几乎所有的业务逻辑都是在这里进行处理的,并且从Model中取出数据。在ASP.NET MVC Preview5中,将原来的Controller类一分为二,分为了Controller类和ControllerBase类。Controller类继承自Cont...
分类:
Web程序 时间:
2014-09-24 19:09:17
阅读次数:
218