1、jquery获取当前选中select的text值var checkText=$("#slc1").find("option:selected").text();2、jquery获取当前选中select的value值var checkValue=$("#slc1").val();3、jquery获...
分类:
Web程序 时间:
2014-10-09 22:08:07
阅读次数:
199
bool curl_setopt (int ch, string option, mixed value)curl_setopt()函数将为一个CURL会话设置选项。option参数是你想要的设置,value是这个选项给定的值。下列选项的值将被作为长整形使用(在option参数中指定):? CURL...
分类:
Web程序 时间:
2014-10-09 21:46:47
阅读次数:
315
一、 需要安装的服务:hostapd dhcp(isc-dhcp-server) dns(dnsmasq或者bind9或者都不装 )二、建hostapd.conf文件 ,sudo vim/etc/hostapd/hostapd.conf (位...
分类:
其他好文 时间:
2014-10-09 20:04:07
阅读次数:
332
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=944区间dp,对于每段区间,他们的最优值都是由几段更小区间的最优值得到,是分治思想的一种应用,将一个区间问题...
分类:
其他好文 时间:
2014-10-09 19:31:57
阅读次数:
137
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=947打出素数表,快速幂取模。 1 #include 2 #include 3 #include 4 #...
分类:
其他好文 时间:
2014-10-09 19:22:47
阅读次数:
194
说明:开始之前,请确认客户环境中是否存在DC、DNS、DHCP等角色,根据现场情况决定是否重新创建这些角色。操作本部分时,请创建一台虚拟机安装WindowsServer2012R2Standard或者Datacenter。1)本手册把DC、DNS、DHCP安装到同一台虚拟服务器上2)点击下一步3)点击下一步4)勾选..
分类:
其他好文 时间:
2014-10-09 16:07:28
阅读次数:
225
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.mysqldump -uroot -pxxxxx --all-databases > all.sqlmysql用mys...
分类:
数据库 时间:
2014-10-09 14:33:03
阅读次数:
298
use mysql;GRANT USAGE ON *.* TO 'user_name'@'localhost' IDENTIFIED BY '123456' WITH GRANT OPTION;//授权user_name用户以密码123456访问数据库GRANT SELECT,INSERT,UPDA...
分类:
数据库 时间:
2014-10-09 14:09:13
阅读次数:
178
近日由于在U3D项目中要使用到数据传递(C++ DLL的数据传递给U3D中的C#),其中涉及到需要使用C#的指针。直接编译会出现以下错误Unsafecode requires the 'unsafe' command line option to be specified。 下面是我总结的解决办法:...
分类:
其他好文 时间:
2014-10-09 13:53:43
阅读次数:
359
Mac在Lion版本之后,默认隐藏了“资源库”文件夹,如果有时我们又需要访问它,该怎么办呢?方法一打开“Finder”,打开“前往”菜单时按住“Option”键。方法二我们也可设置Finder能够直接访问“资源库”文件夹,不要让其隐藏打开“终端”,输入以下命令:chflags nohidden ~/...
分类:
其他好文 时间:
2014-10-09 01:50:17
阅读次数:
160