码迷,mamicode.com
首页 >  
搜索关键字:vue v-on @click 事件绑定    ( 31700个结果
C# 无损图片压缩—— 基于Framework.40 类库实现
转载来自:http://write.blog.csdn.net/postedit/7715729一、测试代码 private void button1_Click(object sender, EventArgs e) { string newSourcePath = ImgPath;//源图存.....
分类:其他好文   时间:2014-07-07 12:36:28    阅读次数:288
JS关闭当前窗口
function logOut() { $('#logging-out').on('click', function () { stopPreventDefault(); $.messager.confirm('安全提示', '是否退出系统?', function ...
分类:Web程序   时间:2014-07-07 10:23:01    阅读次数:242
Web Service(1):用Web Service实现客户端图片上传到网站
由于项目需要,通过本地客户端,把图片上传到网站.通过webservice.这是客户端代码: 1 private void btnimg_Click(object sender, EventArgs e) 2 { 3 this.yanzheng()...
分类:Web程序   时间:2014-07-07 09:36:25    阅读次数:199
jquery 添加方法 : $.fn.方法名 = function(参数a,b,c){
$.fn.image_checked = function(self,status,img_body,csrf_token){ $(this).live('click', function(){ var index = $(this).index() var img_id = $('.'+se...
分类:Web程序   时间:2014-07-06 22:31:18    阅读次数:451
click事件多次触发 jQuery
jQuery 中 click事件会累计绑定例如下列代码:aNode.click(function(){ bNode.click(function(){ console.log('haha'); });});如果把对bNode的点击事件绑定到aNode的点击事件里,那么每点击一次aNode就...
分类:Web程序   时间:2014-07-06 21:59:38    阅读次数:320
jq实现点击表格无刷新修改数据,优化版
1 2 $("#pwd").live("click",function(){//① 3 $(this).parents("tr").find("#a_cannel").text("取消"); 4 user=$(this).parents("tr").fin...
分类:其他好文   时间:2014-07-05 18:35:49    阅读次数:397
jQuery Ajax实例
$(function(){$('#send').click(function(){$.ajax({type: "GET",url: "test.json",data: {username:$("#username").val(), content:$("#content").val()},dataT...
分类:Web程序   时间:2014-07-05 17:09:40    阅读次数:275
NGUI 学习笔记之一 ScrollView
一、createScrollView1、First, select the panel you want to be your scroll view and right-click anywhere in the Scene View to bring up the context menu, t...
分类:其他好文   时间:2014-07-03 20:46:51    阅读次数:278
unigui组件中client javascript delphi组件之间的操作
UniLabel组件:function OnClick(sender, e){ MainForm.UniLabel1.setText('Click!');}function Onmousemove(sender, x, y){ MainForm.UniLabel1.setPosition(x, .....
分类:编程语言   时间:2014-07-03 20:12:11    阅读次数:477
jquery
$(function () {$('.out').click(function () { $('#box').fadeOut('slow'); }); $('.in').click(function () { $('#box').fadeIn('slow'); }); $('.toggle')...
分类:Web程序   时间:2014-07-02 18:13:05    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!