- 博客(6)
- 收藏
- 关注
原创 jqm 页面切换事件监听
参考http://jsfiddle.net/kiliman/aAanV/jQuery Mobile Test Page 1 Place content here Go to page 2 Change color
2014-01-20 14:20:59 2937
原创 JS判断对象是否位空
function isEmpty(obj) { // null and undefined are "empty" if (obj == null) return true; // Assume if it has a length property with a non-zero value // that that property is correct.
2014-01-17 15:46:50 583
原创 chrome extendsion 储存
var username =document.getElementById("username").value; var password =document.getElementById("password").value; if (!username) { return false; } if (!password) { retu
2014-01-15 14:48:57 1056
转载 ios如何获得停止动画
You need to also set the animationName property to match, and ensure that your delegate function is properly defined:CAAnimationGroup *group = [CAAnimationGroup animation];group.duration = 2.0f;gr
2014-01-13 13:21:44 3437
原创 简单括号配对思路
public class Parentheses { /** * 读取字符串,看括号配对是否正确 * 1,将字符串分离, * 2,读入一个栈stackOne中 * 3,从stackOne中弹出字符,从stackTwo中弹出字符 * 4,判断如果两个字符可以不能抵消,那么两个数值都压入stackTwo中 * 5,循环知道stackOne为空 * @param s
2014-01-06 00:19:59 798
原创 PHP修改session_id
if(isset($_GET["se"])){ $se = $_GET["se"];}else{ return;}if(!empty($se)){ echo("receive se: ".$se.""); //接受的的session为$se session_id($se); //设置$se位session_id session_start(); /
2014-01-02 10:48:39 3231
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人