Ctrl+Shift + Enter,语句完成“!”,否定完成,输入表达式时按 “!”键Ctrl+E,最近的文件Ctrl+Shift+E,最近更改的文件Shift+Click,可以关闭文件Ctrl+[OR ],可以跑到大括号的开头与结尾Ctrl+F12,可以显示当前文件的结构Ctrl+F7,可以查询...
分类:
其他好文 时间:
2014-08-25 14:48:34
阅读次数:
220
1. 1-9-1前后区别
$(function(){
$(":button").click(function(){
//prop与attr区别
//attr在1.9以后attr没有初始化的.attr("checked")返回都是undefined
console.log("prop1="+$(":checkbox:eq(0)").prop("checked"));
cons...
分类:
Web程序 时间:
2014-08-25 13:27:14
阅读次数:
196
RECOMMENDED: Click here to fix Windows errors and optimize system performanceNo doubt, OneNote is yet another useful component of Microsoft‘ productiv...
Summary : Uninstall office15 click-to-run extensibility Component,How to resolve Uninstall office15 click-to-run extensibility Component error.Uninsta...
分类:
其他好文 时间:
2014-08-24 11:31:02
阅读次数:
420
var myChart= echarts.init(document.getElementById('myChart')); myChart.on('click', function (param) { alert('点击了我!'); });Echart事件參数能够去config.js查找
分类:
其他好文 时间:
2014-08-23 22:49:31
阅读次数:
817
mydd = $('.plist');mydd.each(function(i){ $(this).click(function(){ mydl.eq(i).hide("slow"); })});注意:此处 this 指代的是 DOM 对象而非 jQuery 对象。如果...
分类:
Web程序 时间:
2014-08-23 17:39:11
阅读次数:
238
1. 禁用右键点击(Disable right-click)$(document).ready(function(){$(document).bind("contextmenu",function(e){returnfalse;});});2. 禁用搜索文本框(Disappearing search...
分类:
Web程序 时间:
2014-08-22 14:13:48
阅读次数:
367
$(this).click(function(){if($(this).hasClass(“zxx_fri_on”)){$(this).removeClass(“zxx_fri_on”);}else{$(this).addClass(“zxx_fri_on”);}return false;});添加...
分类:
Web程序 时间:
2014-08-22 12:52:18
阅读次数:
325
jquery 1.7版后建议使用on()$(document).on("click","#green",function(){$(this).after('小鱼阁');});$(document).delegate("#green", "click", function(){$(this).afte...
分类:
Web程序 时间:
2014-08-22 12:27:06
阅读次数:
154
XAML界面很简单,只有一个按钮和一个lable元素,要实现点击button时,lable的内容从0开始自动递增。 C#private void button_Click(object sender, RoutedEventArgs e){ for (int i = 0; i ...
分类:
其他好文 时间:
2014-08-22 00:17:25
阅读次数:
181