- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 vb6.0 winHttp的post或get一个函数
'作用:winHttp的post或者get'参数:postURL,post或get网址'参数:postData,post内容'参数:Method,方法,为"POST"或"GET"'参数:setCookies,post或get带上的cookie'返回:post或get返回的内容Public Function winHttpGetResponse(postURL As String, po
2014-08-20 15:07:33 10583 1
原创 jquery trigger模拟 触发selete的change事件
667788$('#province').on("change",function(){alert($('#province').get(0).selectedIndex);})$('#btn1').on("click",function(){$('#province').get(0).selectedIndex=1$('#province').trig
2014-08-09 18:55:42 15853
原创 js 模拟类,调用
function shape(strcode){ //初始化属性 var _this=this;//避免this跳转,所以固定它 _this.x=1; _this.y=2; _this.length=0; //构造函数,目的是给属性赋值 var lm=function(){//var lm 是私有,如果this.lm就是公有 _this.length="abc"+
2014-08-05 13:33:00 470
原创 js 满足一个条件后再执行函数,否则一直等待条件成立
回调函数(callback) function b(b){ alert(b);}function test(){ //a(b); delay(b,"#input1","直的吗 要要要");//b为回函数,第三个为传入参数给b使用}//作用:传入一个函数作为参数,当满足某个选器长度大于1时,回调函数起作用//参数:callback 回调函数//参数:strId id
2014-08-04 14:27:44 27578 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人