js
文章平均质量分 58
xiaoguo321
这个作者很懒,什么都没留下…
展开
-
ajaxuploadiy 多文件上传
jsp页面: 上传图片: js代码:原创 2016-04-21 14:29:59 · 372 阅读 · 0 评论 -
微信js-sdk实现“分享到朋友圈”和“发送给朋友”
微信接口文档地址:https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115&token=&lang=zh_CN实现步骤:1.绑定域名 先登录微信公众平台进入“公众号设置”的“功能设置”里填写“JS接口安全域名”。(特别提示不需要加上http或者https,吃过亏)2.页面引入js文件原创 2016-05-23 19:08:46 · 42425 阅读 · 9 评论 -
YUI学习
Insert title here YUI().use('node', function (Y) { var helloWorld = function(e) { e.target.setHTML("Hello World!"); e.target.setStyle('backgroun原创 2016-11-29 12:03:14 · 763 阅读 · 0 评论 -
jQuery 实现相同控件点击变色
jQuery 点击变色 .mt10{margin-top:5px;}.hand{cursor:pointer;}.menu_city ul li{float:left; background:#CCC;padding:6px 20px; margin-right:1px;list-style:none;}.clearfix a li:hover{background-color:原创 2016-11-18 15:22:09 · 399 阅读 · 0 评论 -
js jQuery获取cookie
cookie $(document).ready(function(){ var skey = getCookie("p_skey"); alert(skey); }); function getCookie(cookieName){ var cookieValue=""; if (document.cookie && document.co原创 2016-12-08 15:24:44 · 6116 阅读 · 0 评论 -
jQuery学习整理
jQuery test /*初始化方法*/ $(document).ready(function(){ var wizard = $("#wizard").steps(); // Add step wizard.steps("add", { title: "HTML code", content: "HTML code" });原创 2017-01-18 09:55:07 · 445 阅读 · 0 评论 -
js文件大小,类型判断
function ValidateFileSize(FilePath,FileMaxSize,fileExt){var ValidateFileSize="";if(FilePath==""){ ValidateFileSize = "-2"; return ValidateFileSize;}if(fileExt != ""){var ex原创 2017-08-15 10:38:04 · 651 阅读 · 0 评论 -
select可下拉可输入,支持各种浏览器
New Document .my_select { position:relative; font-size:12px; } .my_select_select { position:absolute; left:0; top:0; *top:1px; width:15原创 2017-09-30 10:03:57 · 871 阅读 · 0 评论