malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?
上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页

2013年3月12日

what is the difference between json and javascript object.

摘要: There's no such thing as a "JSON Object"By"Cowboy" Ben AlmanonMarch 3, 2010 2:54 PM|15 Comments and 0 ReactionsI want to clear up a common misconception. It’s my belief that developers mistakenly call JavaScript Object literals “JSON Objects” because their syntax is identical 阅读全文

posted @ 2013-03-12 23:52 malaikuangren 阅读(1021) 评论(0) 推荐(0) 编辑
6 ways to define javascript function

摘要: There aresixways/contexts in which to create functions:1) Standard declarative notation (most familiar to people with C background)function foo(){}All the rest are functionexpressions:2) As a method of an object literalvar obj ={ foo:function(){}};3) As a method of an instantiated object (created... 阅读全文

posted @ 2013-03-12 19:24 malaikuangren 阅读(175) 评论(0) 推荐(0) 编辑
Javascript truthy and falsy , Javascript logic operators || and &&

摘要: In JavaScript, logical operators are used for boolean logic where a boolean value may be returned depending on the outcome of an expression. With the||(OR) operator, since values don't need to be explicitlytrueorfalse(they can be truthy or falsy), the operator can return non-boolean results when 阅读全文

posted @ 2013-03-12 16:04 malaikuangren 阅读(482) 评论(0) 推荐(0) 编辑

2013年3月7日

Responsive Web Design

摘要: It all started withResponsive Web Design, an article by Ethan Marcotte on A List Apart. Essentially, the article proposed addressing the ever-changing landscape of devices, browsers, screen sizes and orientations by creating flexible, fluid and adaptive Web sites. Instead of responding to today’s ne 阅读全文

posted @ 2013-03-07 15:47 malaikuangren 阅读(200) 评论(0) 推荐(0) 编辑

2013年3月2日

Bind vs Live

摘要: n short:.bind()will only apply to the items you currently have selected in your jQuery object..live()will apply to all current matching elements, as well as any you might add in the future.The underlying difference between them is thatlive()makes use ofevent bubbling. That is, when you click on a bu 阅读全文

posted @ 2013-03-02 21:21 malaikuangren 阅读(154) 评论(0) 推荐(0) 编辑
What should a developer know before building a public web site?

摘要: http://stackoverflow.com/questions/72394/what-should-a-developer-know-before-building-a-public-web-site/305381#305381 阅读全文

posted @ 2013-03-02 12:52 malaikuangren 阅读(134) 评论(0) 推荐(0) 编辑

2013年3月1日

JSONP(cross domain) in jQuery.getJSON

摘要: http://developer.51cto.com/art/201105/264791.htm 阅读全文

posted @ 2013-03-01 11:44 malaikuangren 阅读(135) 评论(0) 推荐(0) 编辑

2013年2月26日

With or without var keyword

摘要: Question:What exactly is the function of thevarkeyword in Javascript, and what is the difference between:var someNumber =2;var someFunction =function(){ doSomething;}var someObject ={}var someObject.someProperty =5; and:someNumber =2;someFunction =function(){ doSomething;}someObject ={}someObject.s. 阅读全文

posted @ 2013-02-26 10:22 malaikuangren 阅读(159) 评论(0) 推荐(0) 编辑

2013年2月8日

Specifics on CSS Specificity

摘要: The best way to explain it is to start with an example of where specificity gets confusing and perhaps doesn't behave like you would expect. Then we'll take a closer look at how to calculate the actual specificity value to determine which selector takes precedence.Here is a simple unordered 阅读全文

posted @ 2013-02-08 14:20 malaikuangren 阅读(249) 评论(0) 推荐(0) 编辑

2013年2月5日

Session Bean

摘要: What is the client of the EJB?As you might recall, Session Beans are the only EJB components that are invoked directly byclients. A client can be anything such as a web application component (Servlet, JSP, JSF and so on), acommand line application or a Swing GUI desktop application. A client can eve 阅读全文

posted @ 2013-02-05 16:08 malaikuangren 阅读(186) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页