media query 是响应式设计的核心,它能够和浏览器进行沟通,告诉浏览器页面如何呈现 @media screen and (max-width:980px){ ... } @media screen and (min-width:980px) and (max-width:1200px){ . ...
分类:
其他好文 时间:
2018-03-04 16:06:45
阅读次数:
153
switch 语句由一个控制表达式和多个case标签组成。 switch 控制表达式支持的类型有byte、short、char、int、enum(Java 5)、String(Java 7)。 switch-case语句完全可以与if-else语句互转,但通常来说,switch-case语句执行效率 ...
分类:
编程语言 时间:
2018-03-04 11:50:49
阅读次数:
175
4.用一个函数封装数据操作的方法,并共享出去 注意:这里sql参数是对应操作的sql语句。 5.在其他文件里面引入mysql.js文件,直接使用该变量进行传参操作数据库 ...
分类:
数据库 时间:
2018-03-03 23:28:06
阅读次数:
380
Question: Given a Weather table, write a SQL query to find all dates' Ids with higher temperature compared to its previous (yesterday's) dates. + + + ...
分类:
其他好文 时间:
2018-03-03 21:27:43
阅读次数:
199
方法一:$("#CheckBox1").attr("disabled", "disabled");$("#CheckBox1").removeAttr("disabled"); 方法二:$("#CheckBox1").attr("disabled", "disabled");$("#CheckBox ...
分类:
Web程序 时间:
2018-03-03 20:25:53
阅读次数:
154
Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything ...
分类:
其他好文 时间:
2018-03-03 18:20:26
阅读次数:
146
主要介绍下如何编写简单的php接口,以及使用js/jquery的ajax技术调用此接口。 Php接口文件(check.php): Js/jquery通过ajax技术调用接口: 这里使用了query中的get方法与接口进行数据交互。 ...
分类:
Web程序 时间:
2018-03-03 18:12:56
阅读次数:
273
Write a SQL query to find all duplicate emails in a table named Person. For example, your query should return the following for the above table: Selec ...
分类:
其他好文 时间:
2018-03-03 17:03:28
阅读次数:
128
【传送门:BZOJ3155】 简要题意: 给出一个序列a[i],s[i]表示a[1]到a[i]的和,ss[i]表示s[1]到s[i]的和,对于这个序列有两种操作: 1.Query x,输出ss[x] 2.Modify x d,将a[x]改为d 题解: 本来想用树状数组,结果写炸了 还是老老实实写线段 ...
分类:
其他好文 时间:
2018-03-03 14:11:17
阅读次数:
153