摘要: 我只是归纳一下自己平时做项目的时候用到的,ajax有两种方式 1.请求的是一般处理程序ashx,或者是aspx 2.请求某个文件,得到里面的内容 阅读全文
posted @ 2018-01-10 12:55 伏地魔程序员 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 然后得到的 _html,我们可以用$('#id').append(_html); 放到任意元素下 阅读全文
posted @ 2018-01-10 12:45 伏地魔程序员 阅读(521) 评论(0) 推荐(0) 编辑
摘要: 一次巧合我看到了一篇关于微信小游戏跳一跳的辅助开发源码,链接:http://mp.weixin.qq.com/s/qGpoHNEf1A2AlofKFVdE2w 然后我试着下载下来跑一遍看能不能运行,显然是不能的,我总结了让能跑起来的几个步骤。 1.adb 环境变量配置 在网上下载 adb工具 1.0 阅读全文
posted @ 2018-01-09 12:47 伏地魔程序员 阅读(411) 评论(2) 推荐(1) 编辑
摘要: 1.一种最简单的是直接拖ContextMenuStrip控件 2.第二种是在后台写: 阅读全文
posted @ 2018-01-08 09:46 伏地魔程序员 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 1 protected void Upload_Click(object sender, EventArgs e) 2 { 3 string ls_docid = HttpContext.Current.Request["key"]; 4 if (string.IsNullOrEmpty(ls_docid))... 阅读全文
posted @ 2018-01-07 15:26 伏地魔程序员 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 一个显示人体时钟和仓鼠互动效果的代码 阅读全文
posted @ 2018-01-05 15:48 伏地魔程序员 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 这是一个计算四则运算的类,个人感觉比较实用,先上代码: 使用方法:先调用 Toexp_arraylist方法将String类型表达式转为由操作数和运算符组成的ArrayList类型表达式;然后将返回的ArrayList类型表达式 填入Toexpback_arraylist方法中,返回了一个后缀表达式 阅读全文
posted @ 2018-01-04 19:04 伏地魔程序员 阅读(1749) 评论(0) 推荐(0) 编辑
摘要: <html><head><script type="text/javascript">function test(){ var inputObj = document.createElement('input');//创建<input /> inputObj.setAttribute('id', ' 阅读全文
posted @ 2018-01-03 18:01 伏地魔程序员 阅读(1504) 评论(0) 推荐(0) 编辑
摘要: 1 List position = new List();//坐标 2 3 List text = new List();//text文本 4 /// 5 /// 冒泡排序 6 /// 7 /// 数据字典 8 private void sortDic(Dictionary dic) 9 ... 阅读全文
posted @ 2018-01-03 09:09 伏地魔程序员 阅读(357) 评论(2) 推荐(0) 编辑