function fadeOut_ele(obj){ //当鼠标移动出去 var id = $("#addressShow").val(); $(".pos:not(#"+id+")").text(''); } func...
分类:
移动开发 时间:
2014-07-09 20:22:07
阅读次数:
297
做了一个功能需要分组查询,同时查询A表分组查询的ID需要关联B表的数据,本来想两个表关联查询,但是报group by 语法不正确。所以做了以下修改。select count(*),cindexid,(select vindexcode from comindex where pk_index =ci...
分类:
数据库 时间:
2014-07-09 20:04:57
阅读次数:
224
1.事件源对象event.srcElement.tagNameevent.srcElement.type捕获释放event.srcElement.setCapture(); event.srcElement.releaseCapture(); 事件按键event.keyCodeevent.shift...
分类:
编程语言 时间:
2014-07-09 18:53:43
阅读次数:
195
00编写一个程序,统计当前目录下每个文件类型的文件数import osall_files = os.listdir(os.curdir)type_dict =dict()for each_file in all_files: if os.path.isdir(each_file): ...
分类:
其他好文 时间:
2014-07-09 18:46:33
阅读次数:
215
装饰器是一种特殊类型的FrameworkElement,用于向用户提供可视化提示。对于其他用户,装饰器可用于将功能控点添加到元素中或提供有关控件的状态信息。
分类:
其他好文 时间:
2014-07-09 18:16:28
阅读次数:
185
//UIButton *aBtn=[UIButton buttonWithType:UIButtonTypeCustom];//[aBtn setFrame:CGRectMake(40, 100, 60, 60)]; [aBtn setBackgroundImage:[UIImage imag...
分类:
移动开发 时间:
2014-07-09 18:11:59
阅读次数:
666
1. Open a terminal window.2. Type in the following commands, then hit Enter after each.wget ftp://ftp.mondorescue.org/ubuntu/`lsb_release -r|awk '{pri...
分类:
其他好文 时间:
2014-07-09 17:51:26
阅读次数:
272
UITextView in iOS7 has been really weird. As you type and are entering the last line of your UITextView, the scroll view doesn't scroll to the bottom like it should and it causes the text to be "clipp...
分类:
移动开发 时间:
2014-07-08 11:14:15
阅读次数:
225
类型别名
类型别名(type aliases)就是给现有类型定义另一个名字。你可以使用typealias关键字来定义类型别名。
当你想要给现有类型起一个更有意义的名字时,类型别名非常有用。假设你正在处理特定长度的外部资源的数据:
typealias AudioSample = UInt16
定义了一个类型别名之后,你可以在任何使用原始名的地方使用别名:
var maxAmplitudeF...
分类:
编程语言 时间:
2014-07-08 11:05:54
阅读次数:
235