1.根据控件的name获取控件$("input[name='objName']")....../*$("check[name='objName']")......*/ $("[name=objName]:checkbox")......$("select[name='objName']")........
分类:
Web程序 时间:
2014-10-17 20:23:06
阅读次数:
163
1 --创建登录账户:用户默认为public角色 2 USE [master] 3 GO 4 CREATE LOGIN [登录名] WITH PASSWORD=N'密码', DEFAULT_DATABASE=[test], CHECK_EXPIRATION=OFF, CHECK_POLIC...
分类:
数据库 时间:
2014-10-17 18:31:48
阅读次数:
260
安装gulp npm install -g gulp 使用gulp(在要检测JS文件所属目录下执行) gulp check 也可以将生成的记录保存在指定文件中 gulp check > D:\js_error.txt...
分类:
Web程序 时间:
2014-10-17 15:48:44
阅读次数:
179
ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 1的解决办法...
分类:
数据库 时间:
2014-10-17 10:49:54
阅读次数:
238
DbUtils模块:
android中的orm框架,一行代码就可以进行增删改查;
支持事务,默认关闭;
可通过注解自定义表名,列名,外键,唯一性约束,NOT NULL约束,CHECK约束等(需要混淆的时候请注解表名和列名);
支持绑定外键,保存实体时外键关联实体自动保存或更新;
自动加载外键关联实体,支持延时加载;
支持链式表达查询,更直观的查询语义,参考下面的介绍或sample中的例子。
ViewUtils模块:
android中的ioc框架,完全注解方式就可以进行UI,资源和事件绑定;
新的事件绑定...
分类:
其他好文 时间:
2014-10-17 10:15:31
阅读次数:
219
最难发现的问题:在给属性值赋值的过程中,一定要用单引号,否则会发生意想不到的问题。例如onclick="check($(user.name))",那么用户名也是字符类型,然后就转化为onclick="check("name")";所以你永远获取不到值;在switch的代码块中忘写了break,然后就...
分类:
其他好文 时间:
2014-10-17 10:04:22
阅读次数:
113
MFC下的常用字符串数据类型表示的含义:L:Long 长 P:Point 指针 C:Const 常量 W:Wchar_t 宽字符 T:TCHAR STR:String 字符串在看看MFC下各种数据类型的定义: 1 typedef char *LPSTR; 2 typedef...
分类:
编程语言 时间:
2014-10-17 00:27:13
阅读次数:
307
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2014-10-17 00:04:43
阅读次数:
304
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying to reach the ...
分类:
其他好文 时间:
2014-10-16 19:10:33
阅读次数:
225
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:
其他好文 时间:
2014-10-16 14:01:02
阅读次数:
154