随笔分类 - JavaScript
各语言支持的 重复生成指定字符数量
摘要:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus">
阅读全文
Javascript XHR Download
摘要:https://codexpert.ro/blog/2013/11/04/fill-a-list-with-large-amount-of-data-part-2/ <a class="download-link" title="Version 1 " href="https://codexpert
阅读全文
bind、call、apply 的原理解析
摘要:bind、call、apply hope_light关注 2020.04.27 15:15:13字数 185阅读 5 bind、call、apply 三者的作用 都是用来改变函数运行时的 this 指向问题 基本使用 var name = 'window' function test() { con
阅读全文
(转)js正则表达式验证大全
摘要:js正则表达式验证大全(转) String.prototype.startWith = function(str) { var reg = new RegExp("^" + str); return reg.test(this); } String.prototype.endWith = funct
阅读全文
IE网页退出时给出警告提示
摘要:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus">
阅读全文
JSONP 教程
摘要:JSONP 教程 本章节我们将向大家介绍 JSONP 的知识。 Jsonp(JSON with Padding) 是 json 的一种"使用模式",可以让网页从别的域名(网站)那获取资料,即跨域读取数据。 为什么我们从不同的域(网站)访问数据需要一个特殊的技术( JSONP )呢?这是因为同源策略。
阅读全文
程序员必备的Google Chrome插件!
摘要:程序员必备的Google Chrome插件! PostMan 磁盘路劲:C:\Users\bosd\AppData\Local\Google\Chrome\User Data\Default\Extensions\ieoejemkppmjcdfbnfphhpbfmallhfnc\1.2.7_0 设置
阅读全文
document.getElementById('myframe')和window.frames[i]的区别
摘要:document.getElementById('myframe')和window.frames[i]的区别 window.frames["main"].document.getElementById("btnQuery").click(); //==this.ownerDocument.getEl
阅读全文
农业银行接口
摘要:1 收款页: this.Page.Server.Transfer(string.Format("./MerchantPaymentWaiting.aspx?no={0}&amount={1}&iid={2}&print={3}", strNo, amount, iMax, this.chkPrint
阅读全文
.Net使用HttpClient以multipart/form-data形式post上传文件及其相关参数
摘要:.Net使用HttpClient以multipart/form-data形式post上传文件及其相关参数 目录导航: 前言: 什么是multipart/form-data请求: Html上传图片按钮: 使用ajax将图片文件流和相关参数传递到后端进行拼接: 后端接收图片和参数,并将图片文件流转化为图
阅读全文
Calling WCF Services using jQuery
摘要:Calling WCF Services using jQuery Introduction This article illustrates how to call Windows Communication Foundation (WCF) services from your jQuery c
阅读全文
HTML table 表格 thead 表头固定,tbody 滚动
摘要:HTML table 表格 thead 表头固定,tbody 滚动 2018年04月12日 16:25:44 和她之间也曾有快乐 阅读数:1345 版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/csdn_Info/article/details/7
阅读全文
showModalDialog, 传递window
摘要:function setFormula() { if (window.opener != null) { var parentWin = window.opener; parentWin.document.getElementById("txtFormula").value = document.g
阅读全文
jQuery JTemplate
摘要:Client templating with jQuery and JSON (CSASPNETClientTemplateJQueryJSON) Summary This project illustrates how to display a tabular data to users base
阅读全文
jQuery.focusEnd()
摘要:<script> jQuery.fn.setCursorPosition = function(position) { if(this.lengh == 0) return this; return $(this).setSelection(position, position); } jQuery
阅读全文
浙公网安备 33010602011771号