![](https://img-blog.csdnimg.cn/20190927151043371.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
jQuery
jQuery
不知所云_
这个作者很懒,什么都没留下…
展开
-
Eclipse中定制快捷键
Eclipse中定制快捷键原创 2015-11-19 16:39:05 · 369 阅读 · 0 评论 -
Myeclipse字体设置
Window --> Preferences --> General --> Appearance --> Colors and Fonts --> Basic --> Text Font --> Edit原创 2015-11-11 09:42:56 · 329 阅读 · 0 评论 -
jQuery slideDown下滑中出现反弹或者抖动现象
<html><head><script type="text/javascript" src="/jquery/jquery.js"></script><script type="text/javascript"> $(document).ready(function(){ $(".btn1").click(function(){ $("div").slideUp(); }); .原创 2020-05-20 14:28:42 · 1296 阅读 · 0 评论 -
下拉框插件 dropdown.js介绍
在项目中使用到了dropdown.js插件,把使用的方法以及注意点记录了下来。插件描述:Dropdown是面向PC端的基于jQuery开发的轻量级下拉框插件,支持keyvalue搜索,有token和两种模式。地址:http://www.jq22.com/jquery-info14548一、使用说明1、html中使用<div>将select包含: <div class="sel...原创 2018-06-07 10:51:25 · 12245 阅读 · 0 评论 -
页面局部刷新,其中的click事件被再次定义
在项目中,使用了Easyui的datagrid实现表格展示数据,表格中添加点击操作,点击事件需要在页面渲染表格之后添加例:要给表格中class为start的元素添加click事件,middle是表格的父div$('.middle').on('click','.start',function(){ var index=$(this).attr('data...原创 2018-06-07 11:22:53 · 1824 阅读 · 0 评论 -
同一个窗口中,运行不同的url
首先使用 window.open([URL], [窗口名称], [参数字符串]) 打开一个新窗口var newWindow='';var arrUrl=['http://www.baidu.com.cn','http://mp.csdn.net'];$.each(arrUrl,function(i){ if(newWindow){ newWindow.location=arrUrl[i];...原创 2018-06-07 12:05:04 · 331 阅读 · 0 评论 -
iframe 使用
避免自己的网站被其他网站的iframe引用: 原因:避免“点击劫持” 方法:1、网站可设置X-Frame-Options,X-Frame-Options有三个可能值: DENY :拒绝任何域加载 SAMEORIGIN,:允许同源域加载 ALLOW-FROM :可以定...原创 2018-06-07 13:58:05 · 316 阅读 · 0 评论