可封装的js代码if (typeof YwkMobile == "undefined")
var YwkMobile = {};YwkMobile.touchStyle = function(e, t)
{ $(e).bind("touchstart", function() { $(this).....
分类:
其他好文 时间:
2014-06-12 20:33:45
阅读次数:
289
一、boost库分类:(1)不需要编译库:any、array、asio、conversion、crc、bind/mem_fn、enable_if、function、lambda、mpl、smart_ptr...(2)需要编译的库:date_time、filesystem、function_types...
在InsertItemTemplate中DropDownList联动和绑定不能同时实现,需要去掉SelectedValue=‘<%#Bind("CompanyID")%>即可实现联动,另外SqlDataSource应该放在InsertItemTemplate中。<%@PageTitle=""Language="VB"MasterPageFile="~/Manage/Site.master"AutoEventWireup="fa..
分类:
其他好文 时间:
2014-06-11 00:01:19
阅读次数:
453
今天在做项目时,遇到了一个问题。因为是在别人做好的基础上改东西,所以,一些东西不能按照自己的变成习惯来。就比如,我创建项目习惯刚建完就设置字符的编码集为UTF-8,而人家的项目就未必是那样了。好了,废话不多了。问题如下:一个jsp页面(里面有Java代码)的编码集为GB2312,而我修改里面东西时死活不让我保存,一保存就提示“Some characters cannot be mapped usi...
分类:
移动开发 时间:
2014-06-10 19:26:26
阅读次数:
538
问题: cannot find -lnlcollect2: error: ld returned 1 exit statusmake: *** [wpa_supplicant] 错误 1解决方法:[fulinux@ubuntu wpa_supplicant]$ sudo apt-get install libnl-dev libssl-dev...
分类:
其他好文 时间:
2014-06-10 13:35:36
阅读次数:
262
connect():不需要bind,内核会自动加源地址和随机端口,connect会发送3次握手,只有在成功连接或者出错的情况才返回。出错的情况有3种:1.收不到syn确认包,会超时重发,总共75秒后time
out2.收到不可达包,会重发,等一段时间后no route to host3.服务器没有监...
分类:
其他好文 时间:
2014-06-10 12:41:36
阅读次数:
240
我手动配置hibernate4.3.4,测试的时候出现:
Caused by: org.hibernate.HibernateException: Connection cannot be null when 'hibernate.dialect' not set
我是按照官方文档配置的,但是官方文档的代码好像有点问题
这是官方文档里面的那个工具类的部分代码:return new Confi...
分类:
系统相关 时间:
2014-06-10 07:26:34
阅读次数:
371
rite less, do
more.这句话想必是很多语言都提倡的。在此举三个jquery的应用体现一.绑定多个事件类型 $("div").bind("mouseover
mouseout", function () { $(this).toggleClass("over"); ...
分类:
Web程序 时间:
2014-06-09 20:47:18
阅读次数:
261