bug_x

导航

 

2017年5月10日

摘要: 以下摘自官方文档:https://dev.mysql.com/doc/refman/5.7/en/insert.html 语法: Or: If you declare an alias for a table, you must use the alias when referring to the 阅读全文
posted @ 2017-05-10 09:06 bug_x 阅读(707) 评论(0) 推荐(1) 编辑
 

2017年4月25日

摘要: update table ucf, table t2 set ucf.pcid = t2.pcid where t2.name = 'liming' and t2.gid= ucf.gid and ucf.id in(474,475,479,482,457,375,461,406,373,374); 阅读全文
posted @ 2017-04-25 20:16 bug_x 阅读(930) 评论(0) 推荐(0) 编辑
 

2017年4月23日

摘要: <html> <head></head> <body> <form class="form-inline"> <div> <fieldset> <label for="attention">Set Tag Status:&nbsp;</label> <input type="radio" name= 阅读全文
posted @ 2017-04-23 12:09 bug_x 阅读(1017) 评论(0) 推荐(0) 编辑
 

2017年4月21日

摘要: 之前一直用find 现在用parents var w = $("div"); w = $("div").parents('.class'); //在Parents中找我们需要的dom节点 var f = 'span'; var pFindSize = w.find(f).size(); if(pFi 阅读全文
posted @ 2017-04-21 08:52 bug_x 阅读(587) 评论(0) 推荐(0) 编辑
 

2017年4月12日

摘要: <style type="text/css" media="screen"> #gradient { width: 200px; height: 200px; /* 如果浏览器不支持渐变,使用图像作为背景 */ background: url(gradient.jpg); /* Webkit: Sa 阅读全文
posted @ 2017-04-12 11:21 bug_x 阅读(541) 评论(0) 推荐(0) 编辑
 

2017年4月6日

摘要: browser或者webcontents 的高度与宽度比例对webview中src的页面结构也是有一定影响的 阅读全文
posted @ 2017-04-06 19:49 bug_x 阅读(8769) 评论(0) 推荐(0) 编辑
 
摘要: 写入配置文件的办法: max_allowed_packet = 16M //但是这种有时候不支持,1024*1024*16这种有的也不支持 max_allowed_packet = 16777216 //是1024*1024*16,写成最后乘积的,100%支持 命令:临时: show global 阅读全文
posted @ 2017-04-06 14:16 bug_x 阅读(539) 评论(0) 推荐(0) 编辑
 

2017年4月1日

摘要: https://api.drupal.org/api/drupal/includes%21actions.inc/function/actions_do/7.x addFileds : 这个更全点: https://www.drupal.org/docs/7/api/database-api/dat 阅读全文
posted @ 2017-04-01 15:44 bug_x 阅读(714) 评论(0) 推荐(0) 编辑
 

2017年3月31日

摘要: Document/querySelector https://developer.mozilla.org/zh-CN/docs/Web/API/Document/querySelector 阅读全文
posted @ 2017-03-31 17:13 bug_x 阅读(538) 评论(0) 推荐(0) 编辑
 
摘要: 项目中通过iframe内嵌了一个子页面,子页面定义了一些全局变量,父页面需要获取子页面的全局变量,做了一些测试(我的环境IE10和Firefox32.0.3),得出如下结论: IE下: window.frames['iPage'].变量名 火狐下:window.frames['iPage'].con 阅读全文
posted @ 2017-03-31 13:35 bug_x 阅读(6165) 评论(0) 推荐(0) 编辑