![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web
iteye_20790
这个作者很懒,什么都没留下…
展开
-
http 协议 contentType transfer-encoding相关
application/octet-stream;这个是contenttype 表明是二进制文件(可执行文件吧),好像没有撒特殊意思,相当于没编码直接输出2进制数据(用在返回比较多);transfer-encoding:chunked在单独post或者get(返回)的时候比较有用;chunked 在multipart/XXX 的boundary里的content-transfer-enco...2010-09-29 09:33:00 · 103 阅读 · 0 评论 -
html选中区域判断
getSelectionHTML : function() { var userSelection; if (window.getSelection) { // W3C Ranges userSelection = window.getSelection(); // Get the range: if (userSelection.getRangeAt)...2011-06-10 13:06:00 · 285 阅读 · 0 评论 -
解决extjs grid文字不能选中的问题
.x-selectable, .x-selectable * { -moz-user-select: text!important ; -khtml-user-select: text!important ; }// enable grid cell to be selected in chrome(x-selectable)/firefox(x-selectable)...2011-09-02 18:59:00 · 174 阅读 · 0 评论 -
extjs3.3 htmleditor各种修正和扩充
1.editor的iframe window的keydown事件绑定由于htmleditor本身提供的specialkey event不给力,所以自己手动在init时增加更加精确的keydown事件来弥补需要注意的是:chrome的事件必须绑定在body上,否则ENTER这种特殊的键无法触发 var win = Ext.isIE ? ed.getDoc() : ed.getWi...2011-11-15 19:02:00 · 191 阅读 · 0 评论