在做网站的时候有一块需要用到jquery.validate插件 ajax方式的方式来验证原始密码是否正确,研究了研究加上博客园朋友的帮助,终于实现了。贴出代码 $(function () { $("#form1").validate({ rules: { pwd: { required: true,...
                            
                            
                                分类:
Web程序   时间:
2014-08-16 10:58:30   
                                阅读次数:
276
                             
                    
                        
                            
                            
                                //-----------------------------------------------------------------------------
// File: bulkloop.c
// Contents: Hooks required to implement USB perip...
                            
                            
                                分类:
其他好文   时间:
2014-08-16 09:36:50   
                                阅读次数:
254
                             
                    
                        
                            
                            
                                @login_required()def to_register(request): return render_to_response("pay/register_yeepay.html", context_instance=RequestContext(request))// 意思简单,就不说了...
                            
                            
                                分类:
其他好文   时间:
2014-08-16 02:14:09   
                                阅读次数:
236
                             
                    
                        
                            
                            
                                题意很简单了,对一个区间有两种操作:
1. "C A B C" Color the board from segment A to segment B with color C.
//A~B涂上颜色C
2. "P A B" Output the number of different colors painted between segment A and segment B (includ...
                            
                            
                                分类:
其他好文   时间:
2014-08-15 14:39:58   
                                阅读次数:
292
                             
                    
                        
                            
                            
                                Numeros, The Artist, had two listsAandB, such that,Bwas a permutation ofA. Numeros was very proud of these lists. Unfortunately, while transporting th...
                            
                            
                                分类:
其他好文   时间:
2014-08-15 14:10:28   
                                阅读次数:
236
                             
                    
                        
                            
                            
                                Problem DUndraw the Trees Input:StandardInputOutput: Standard Output Time Limit: 2 SecondsProfessor Homer has been reported missing. We suspect thathi...
                            
                            
                                分类:
其他好文   时间:
2014-08-15 12:20:48   
                                阅读次数:
315
                             
                    
                        
                            
                            
                                最近做的项目一直在用laraval框架,有些地方确实很方便,但是有些方面实在是太坑了,就比如这次在数据库里,官方文档写的是Take note thatemailis not a required option, it is merely used for example. You should us...
                            
                            
                                分类:
数据库   时间:
2014-08-14 20:28:39   
                                阅读次数:
226
                             
                    
                        
                            
                            
                                Description
Chosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new problem.
There is a very long board with length L...
                            
                            
                                分类:
其他好文   时间:
2014-08-13 22:28:57   
                                阅读次数:
401
                             
                    
                        
                            
                            
                                error C4430: missing type specifier - int assumed. Note: C++ does not support default-int错误类型: 缺失类型表述错误原因: 函数前未写函数的返回类型,由此导致了这个错误解决方法: 以后写函数,不管是声明还是定义...
                            
                            
                                分类:
编程语言   时间:
2014-08-13 22:04:07   
                                阅读次数:
211
                             
                    
                        
                            
                            
                                新建一个register.py文件,把一下代码贴进去,保存(G盘)#
#scripttoregisterPython2.0orlaterforusewithwin32all#andotherextensionsthatrequirePythonregistrysettings#
#writtenbyJoakimLoewforSecretLabsAB/PythonWare#
#source:#http://www.pythonware.com/products/work..
                            
                            
                                分类:
编程语言   时间:
2014-08-13 15:16:57   
                                阅读次数:
216