HTML代码:点击获取验证码Jquery:代码:$(document).ready(function() { $('#btn').on('click',function(){ var time = 10; setInterval(function (...
分类:
Web程序 时间:
2014-12-26 18:14:14
阅读次数:
159
直接上代码
"http://www.baidu.com"
id="openApp">打开APP
"text/javascript">
document.getElementById('openApp').onclick =
function(e){
// 通过iframe的方式试图打开APP,如果能正常打开,会直接切换到APP,并自动阻止a标签的默认...
分类:
移动开发 时间:
2014-12-26 16:51:19
阅读次数:
271
通过AirDrop发送一张图片或者一个文件,需要序列化实现了NSActivityItemSource的容器类实例,以NSData的数据格式传输。app发送/接收自定义的类型实例,还需要创建一个自定义的UTI,需要在Targets的info中添加两个节点:Document Types 和 Export...
分类:
其他好文 时间:
2014-12-26 16:16:34
阅读次数:
517
自学js练手----无缝滚动 Document 向左走 向右走 图片如下:
分类:
其他好文 时间:
2014-12-26 16:08:28
阅读次数:
201
//ztree数据回显$(document).ready(function(){ //加载树 $.fn.zTree.init($("#treeDemo2"), setting2, zNodes2); //获取到树 var zTree_Menu = $.fn.zTree.get...
分类:
其他好文 时间:
2014-12-26 14:22:21
阅读次数:
355
方法: close(); open() write() writeln() 属性: alinkColoe, linkColor, vlinkColor anchors[] applets[] bgClor, fgClor cookie domain forms[] images[] lastModefied links[] location referrer title u...
分类:
其他好文 时间:
2014-12-26 13:11:15
阅读次数:
133
Document 1111 2222 3333 4444 5555 6666 td1 td2 td3 t...
分类:
Web程序 时间:
2014-12-26 12:42:23
阅读次数:
138
$(document).ready(function() { var $cr = $("#cr"); var cr = $cr[0]; $cr.click(function() { alert("click") i...
分类:
Web程序 时间:
2014-12-26 12:41:13
阅读次数:
142
Parsing the XML Responseget the root node: var rootNode = document.wlXmls[0].XMLDocument.documentElementget the root node's name : rootNode.nodeNamege...
分类:
Web程序 时间:
2014-12-26 12:27:35
阅读次数:
151
【contentDocument】 W3C的标准告诉我们,可以通过Dom对象的contentDocument属性来返回文档对象。 doc= document.getElementById(‘J_mainframe‘ ).contentDocument IE6,IE7都不支持,IE8开始支持,需要如此访问 ...