常用工具: Homebrew: http://brew.sh/ Homebrew brew-cask: https://github.com/caskroom/homebrew-cask Firefox: http://www.firefox.com.cn/ Evernote: https://www.yinxiang.com/download/ QQ: http://im.qq.com/download/ QQ输入法: http://pc.qq.com/mac.html 微信:https://search.itunes.apple.com/WebObjects/MZContentLink.woa/wa/link?mt=11&path=mac%2fWeChat 企业微信:http://work.weixin.qq.com/#indexDownload 开发工具: JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html PHPStorm: https://www.jetbrains.com/phpstorm/ sequelpro: http://www.sequelpro.com/download composer: sourcetree: https://www.sourcetreeapp.com/download/ homebrew安装软件 brew top phinze/homebrew-cask brew install brew-cask brew cask install google-chrome brew install wget brew install mysql brew install nginx brew install homebrew/php/php56 brew install homebrew/php/php56-intl brew install phpunit
Category: Web
jQuery如何获取动态添加的元素
在一个页面中, 动态添加一些inpu 后, 通过一般的原有方法$(‘.month-calculate’) 无法取到元素, 但是在Firebug的控制台中是可以取到的.. 1 如: $(‘.month-calculate’).change(function(){ console.info(‘yes’); }); 和 $(‘.month-calculate’).bind(‘change’,function () { console.info(‘yes’); }); 都不起作用. 而 $(‘.xxx’).live方法在 jQuery 1.9后被取消. 只能用以下方法了: 1 2 3 $(‘.tableBlock’).on(‘change’,’.month-calculate’,function () { console.info(‘yes’); }); 注意: .tableBlock 是 .month-calculate的父元素.