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
Look under the start
memcahcedthreadingprocessmemcached multi-threaded mainly by instantiating
multiple libevent, are a main thread and n workers thre...
分类:
其他好文 时间:
2014-05-01 06:15:27
阅读次数:
356
BIOS是英文"Basic Input Output
System"的缩略语,直译过来后中文名称就是"基本输入输出系统"。其实,它是一组固化到计算机内主板上一个ROM芯片上的程序,它保存着计算机最重要的基本输入输出的程序、系统设置信息、开机后自检程序和系统自启动程序。
其主要功能是为计算机提供最底层...
分类:
移动开发 时间:
2014-05-01 05:07:47
阅读次数:
555
IIUPC2006Problem G: Going in Cycle!!Input:
standard inputOutput: standard outputYou are given a weighted directed graph
withnvertices andmedges. Each ...
分类:
其他好文 时间:
2014-05-01 04:32:53
阅读次数:
271
This article mainly introduces the process of
Memcached, libevent structure of the main thread and worker thread based on the
processing of the connec...
分类:
其他好文 时间:
2014-05-01 02:44:07
阅读次数:
571
Android调试Source Not Found的错误原因及解决办法!...
分类:
移动开发 时间:
2014-04-29 13:48:21
阅读次数:
362
windows下面可以主线程while loop接受input;但是觉得很丑。
linux没办法这样,可以用注册信号的办法。实现起来也不难:
#include "stdio.h"
#include "unistd.h"
#include "signal.h"
#include "error.h"
volatile bool isStop = false;
static void handl...
分类:
其他好文 时间:
2014-04-29 13:42:21
阅读次数:
418
可以用安卓手机浏览器打开 http://javascript.info/tutorial/keyboard-events#test-stand-test-stand 测试看看。
Android 4.2自带浏览器和webview的测试结果(其他版本没试过,估计4.X都是这样):
当input有内容的时候,点击软键盘回退键(keyCode=8),是有keyEvents事件(keyup...
分类:
移动开发 时间:
2014-04-29 13:38:21
阅读次数:
765
源码:
data segment
string1 db 'Please input a number:',0dh,0ah,'$'
string2 db 0dh,0ah,'It is a number!',0dh,0ah,'$'
string3 db 0dh,0ah,'It is not a number!',0dh,0ah,'$'
data ends
code segme...
分类:
编程语言 时间:
2014-04-29 13:33:20
阅读次数:
559
1. Download Kernel source
Study:
1. Please refer to the AOSP official kernel download address:
http://source.android.com/source/building-kernels.html
2. goto https://android.g...
分类:
移动开发 时间:
2014-04-29 13:13:20
阅读次数:
679