码迷,mamicode.com
首页 >  
搜索关键字:document    ( 20024个结果
js 音乐
define(function(require,exports,module){ var $music = document.getElementById('music'); var $music_mm = $('#music'); var $music_voice = $('.m...
分类:Web程序   时间:2014-12-28 14:13:32    阅读次数:189
WPF的webBrowser控件关键代码
1、根据元素ID获取元素的值。比如要获取这个标签里的src属性的值:mshtml.IHTMLDocument2 doc2 = (mshtml.IHTMLDocument2)webBrowser1.Document; mshtml.IHTMLElement img = (mshtml.IHTMLEle...
分类:Windows程序   时间:2014-12-28 11:35:26    阅读次数:247
js 添加、获取、删除 cookie
// 保存 Cookiefunction setCookie(name, value) { expires = new Date(); expires.setTime(expires.getTime() + (1000 * 86400 * 365)); document.cooki...
分类:Web程序   时间:2014-12-27 17:31:06    阅读次数:142
数组去重
Document
分类:编程语言   时间:2014-12-27 16:00:19    阅读次数:176
转载:JS进度条
转载地址:http://blog.csdn.net/treeClimber/article/details/569974代码在原基础上稍作改动,如下: New Document 正在导入数据,已完成 0,请稍候.... |
分类:Web程序   时间:2014-12-27 10:07:31    阅读次数:183
How to Write Doc Comments for the Javadoc Tool
http://www.oracle.com/technetwork/java/javase/documentation/index-137868.htmlThis document describes the style guide, tag and image conventions we use...
分类:编程语言   时间:2014-12-26 22:51:10    阅读次数:452
JQuery异步提交操作
提到异步提交,大家肯定首先想到的应该是ajax,因为这个本来就是为异步操作而服务的。但在这我要说的是JQuery。两者之间到底有什么联系呢?         自我认为,JQuery其实就是对JS的一个封装。就像我们操作JS时,基本上都是对DOM节点直接的操作,比如说获取一个节点的值要用document.getElementByID方法,然后在赋值操作。等等这些要写很多的代码,这是一个很巨大的...
分类:Web程序   时间:2014-12-26 21:42:03    阅读次数:168
设置和获取cookie
function setCookie(name,value){ document.cookie = name + "=" + encodeURI(value);}function getCookie(name){ var str = document.cookie; if(!str || str.i...
分类:其他好文   时间:2014-12-26 21:41:30    阅读次数:180
JS获取窗口高度
var s = "网页可见区域宽 :"+ document.body.clientWidth;?? s += "\r\n网页可见区域高:"+ document.body.clientHeight;??? s += "\r\n网页可见区域高:"+ document.body.offsetHeight +" (包括边线的宽)...
分类:Web程序   时间:2014-12-26 18:59:09    阅读次数:158
推荐一个好的表格插件,handsontable
网址:http://handsontable.com/目前的版本是0.12.2,有一个bug需要手工修复一下。设置了列的自动完成时默认不能输入中文的bug。在firefox,chrome和IE11上测试通过修复办法:1.3936行中的"keydown"改为"keyup"eventManager.addEventListener(document,‘keyup‘,function(ev){ in..
分类:其他好文   时间:2014-12-26 18:51:12    阅读次数:1527
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!