- 博客(4)
- 资源 (3)
- 收藏
- 关注
原创 兼容性问题整理小记
一:document.getElementById 1:问题描述:在IE7以下,该方法支持获取name属性值,支持常用标签例如a,button,form,iframe,img,input,textarea等。 解决方案:传入id值,而不是name值,并且同时注意id属性值不与其他name属性值有重复。 2:问题描述:在IE7以下,该方法传入的id值不区分大小写。
2016-03-14 12:38:48 215
原创 http部分内容总结
http头信息Accept:浏览器能够处理的内容类型 Accept-Charset:浏览器能够处理的字符集 Accept-Encoding:浏览器能够处理的压缩编码 Accept-Language:浏览器当前设置的语言 Connection:浏览器与服务器之间连接的类型 Cookie:当前页面设置的任务cookie Host:发出请求的页面所在的域 Referer:发出请求的页面的UR
2016-03-12 15:51:27 218
原创 opencv暑假培训之第一次
#include "stdafx.h" #include "highgui.h" #include int main(int argc, char* argv[]) { CvPoint pt1; pt1=cvPoint(100,200); printf("x:%d,y:%d\n",pt1.x,pt1.y); CvPoint pt2; pt2=cvP
2014-07-07 18:25:06 513
原创 dp之数塔问题
#include #include #include using namespace std; int a[105][105],dp[105][105]; int max(int x,int y){return (x>y? x:y);}int main() { int t,n,i,j; while(scanf("%d",&t)!=EOF){while(t--) { scanf("%d",&n);
2014-04-28 09:27:34 384
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人