请问下UIButton点击后改变背景的方法http://www.cocoachina.com/bbs/read.php?tid-48666-keyword-UIButton.html//初始设置:UIImage
*bgImg1 = [UIImage imageNamed:@"Selected.png...
分类:
其他好文 时间:
2014-07-22 23:17:36
阅读次数:
478
jQuery获取Select选择的Text和Value:
语法解释:
1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发
2. var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text
...
分类:
Web程序 时间:
2014-05-01 17:38:42
阅读次数:
420
1、获取选中的值:获取一组radio被选中项的值: var item =
$("input[@name=items]:checked").val();获取select被选中项的文本: var item =
$("select[@name=items] option[@selected]").tex....
分类:
Web程序 时间:
2014-05-01 13:31:03
阅读次数:
482
#网卡类型TYPE=Ethernet#网卡接口名称DEVICE=eth0#系统启动时是否自动加载ONBOOT=yes#启用地址协议 --static:静态协议
--bootp协议 --dhcp协议BOOTPROTO=static#网卡IP地址IPADDR=192.168.1.11#网卡网络地址NET...
分类:
其他好文 时间:
2014-04-30 15:12:24
阅读次数:
351
所需硬件:树莓派、无线网卡1.查看无线网卡是否被识别pi@raspberrypi ~ $
sudo lsusbBus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.Bus 001
Device 001: ID 1d6b:0002 Li...
分类:
其他好文 时间:
2014-04-30 02:50:21
阅读次数:
807
Ubuntu默认是安装好了tcpdump工具的,如果没有安装的话使用sudo apt-get
install tcpdump即可安装。 (如果遇到tcpdump: no suitable device
found的问题,检查一下是不是在用root权限运行tcpdump,tcpdump只能在root权...
分类:
其他好文 时间:
2014-04-29 20:18:22
阅读次数:
620
可以指定单位:
setTextSize(int unit, int size)
TypedValue.COMPLEX_UNIT_PX : Pixels
TypedValue.COMPLEX_UNIT_SP : Scaled Pixels
TypedValue.COMPLEX_UNIT_DIP : Device Independent Pixels
mText.setTextSize(...
分类:
移动开发 时间:
2014-04-29 13:22:20
阅读次数:
345
该问题的出现原因是手机中的访问权限被关闭了,打开方法如下:
设置->通用->访问限制->安装应用程序...
分类:
移动开发 时间:
2014-04-29 13:16:21
阅读次数:
759
2692407267@qq.com,更多内容请关注http://user.qzone.qq.com/2692407267
Wind River Intelligent Device Platform XT 2.0.1,增加了对quark和galileo的支持...
1. If APNs attempts to deliver a notification but the device is offline, the notification is stored for a limited period of time, and delivered to the device when it becomes available.
假如用户手机不在线,可能没有...
分类:
移动开发 时间:
2014-04-28 10:38:40
阅读次数:
582