1. serialize()方法语法:$(selector).serialize()输出序列化表单的字符串,文件上传控件(例如:<input type="file" name="myfile"/>)类型的表单数据会被自动忽略,也就是说不会出现在序列化字符串中。 比如有下面这样的一个表单,用$("fo
分类:
Web程序 时间:
2016-03-11 11:57:45
阅读次数:
242
display:inline、block、inline-block的区别 display:block就是将元素显示为块级元素. block元素的特点是: 总是在新行上开始; 高度,行高以及顶和底边距都可控制; 宽度缺省是它的容器的100%,除非设定一个宽度 <div>, <p>, <h1>, <fo
分类:
Web程序 时间:
2016-03-10 20:32:45
阅读次数:
268
controller.php 1 <?php 2 class CI_Controller { 3 4 private static $instance; 5 6 public function __construct() 7 { 8 self::$instance =& $this; 9 10 fo
分类:
其他好文 时间:
2016-03-08 16:28:19
阅读次数:
147
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo
分类:
其他好文 时间:
2016-03-06 08:45:55
阅读次数:
214
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo
分类:
其他好文 时间:
2016-03-05 20:21:23
阅读次数:
239
基于win7 + python3.4 import ctypes import sys '''Windows CMD命令行颜色''' # 句柄号 STD_INPUT_HANDLE = -10 STD_OUTPUT_HANDLE= -11 STD_ERROR_HANDLE = -12 # 前景色 FO
分类:
编程语言 时间:
2016-03-05 14:36:54
阅读次数:
574
接下来我们看下UILabel,它是文字标签,用来显示文字用的,我们在软件中看到的文字,大多数都是它的身影。它继承自UIView,所有具有UIView的所有基因,在此就不一一说明,我们着重的说下UILabel在UIView的基础上新增的东西。如下所示: 接下来我们看下UILabel的很重的属性——fo
分类:
其他好文 时间:
2016-03-05 13:15:00
阅读次数:
156
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo
分类:
其他好文 时间:
2016-03-04 22:20:50
阅读次数:
221
class数组作业{/********1.1永远在第一行的中间;2.下一个数,永远填在右上角;3.若右上角没位置了,要转头(两种情况)4.若遇到n的倍数,一个数,直接填在它的下方。********/publicstaticvoidmain(String[]args){intn=11;int[][]a=newint[n][n];inti=0;intj=n/2;a[i][j]=1;fo..
分类:
编程语言 时间:
2016-03-03 17:43:21
阅读次数:
158
参考http://www.php100.com/html/webkaifa/PHP/PHPyingyong/2013/0619/13568.html html <div id="contact_form"> <form name="contact" method="post" > <label fo
分类:
Web程序 时间:
2016-03-02 11:08:35
阅读次数:
263