jQuery Live Bind
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/live_bind
软件介绍
Using $.fn.is_match(selector) to build a live bind method:
sample:
<div class="kkkk">
<div class="ppp1" title="333">hello1</div>
</div>
<script>
function alr(){alert(this.innerHTML);}
function alr1(){alert('hello:'+this.innerHTML);}
$.live_bind(".kkkk .ppp1 + .ppp[title='333']", 'click', alr);
$.live_bind(".kkkk .ppp[title='333']:nth-child(3)", 'click', alr1);
//"tr:eq(3)" should be "tr:nth-child(4)"
//"tr:gt(3)" should be "tr:nth-child(4) ~ tr"
//"tr:gt(0)" could be "tr:not(:first-child)"
//"tr:first" should be "tr:first-child"
$('.kkkk').append('<div class="ppp" title="333">hello</div>');
$('.kkkk').append('<div class="ppp" title="333">jack</div>');
</script>在你身边,为你设计
腾讯公司用户研究与体验设计部 / 电子工业出版社 / 2013-1 / 69.00元
设计属于所有人,也意在为所有人使用,这既是设计的价值,也是设计的责任。本书内容包括:设计理念、设计方法、用户研究、体验设计、设计流程和工具,以及团队成长与管理等方面的知识与经验分享。一起来看看 《在你身边,为你设计》 这本书的介绍吧!
