随笔分类 -  js/jquery

摘要:Ref:http://www.w3schools.com/js/js_comparisons.asp 1 var r = 1; 2 var result = r || 2; 3 console.log(result); 4 //output: 1 5 6 r = 0; 7 result = r |... 阅读全文
posted @ 2014-01-08 00:40 wonkju 阅读(148) 评论(0) 推荐(0)
摘要:Hash,in wikipedia, may relevant to many stuffs. In javascript, hashis a group of name/value pairs where a unique name points to a unique value, and... 阅读全文
posted @ 2014-01-07 21:59 wonkju 阅读(144) 评论(0) 推荐(0)
摘要:Syntax: event.clientXThe clientX event attribute returns the horizontal coordinate (according to the client area) of the mouse pointer when an event ... 阅读全文
posted @ 2013-12-18 02:31 wonkju 阅读(308) 评论(0) 推荐(0)
摘要:http://www.w3schools.com/js/js_comparisons.asp 阅读全文
posted @ 2013-11-24 02:32 wonkju 阅读(156) 评论(0) 推荐(0)