06 2018 档案
摘要:在使用jquery的方式为元素绑定事件时,我经常使用bind或者click,但这只能为页面已经加载好的元素绑定事件。 像需要用ajax的方式请求远程数据来动态添加页面元素时,显然以上几种绑定事件的方式是无效的; 现用以下方法,其他方法不介绍 eg:
阅读全文
摘要:connect('127.0.0.1',6379); $redis->auth('123456'); // string $redis->set('test','helloworld'); $get = $redis->get('test'); //helloworld $tt = $redis->del('test'); //int(1) 返回成功的个数 //list $redis-...
阅读全文
浙公网安备 33010602011771号