摘要:If you don't declare a variable explicitly, JavaScript will declare it implicitly for you.var i;var sum; You can also declare multiple variables with the same var keyword:var i, sum; It is legal and harmless to declare a variable more than once with the var statement. If the repeated declaration 阅读全文
Type-ahead (auto-complete) suggest 开发
2012-08-30 01:00 by youxin, 366 阅读, 0 推荐, 收藏,
摘要:Since Ajax has become popular, the type-ahead suggest has been one of the mostsought-after pieces of code. Many people have created different versions of thetype-ahead suggest that handle the interaction with the server in many ways. A lotof the solutions out there have flaws, while others go way ov 阅读全文
godaddy购买域名及解析流程
2012-08-29 22:19 by youxin, 2242 阅读, 0 推荐, 收藏,
摘要:选中一个域名,如果是第一次购买的话要填写购买信息,如姓名,国际,电话号码等,其中有一个要注意:State or Territory:填这个时一定要十分小心,填china是通不过的(会显示Invalid Input in State Field),填cnz就可以。在付款时可以在右边填上优惠码。支付时可以选择用支付宝支付。但是我第一次支付时根本没有显示支付宝,怎么办?用鼠标滚轮滚动下面,选择如下:Language:Country:Currency:United States Dollar $ (Transactional)(不要选择Chinese Yuan ¥ (Transactiona 阅读全文
Json简介
2012-08-29 16:15 by youxin, 278 阅读, 0 推荐, 收藏,
摘要:JSON(JavascriptObjectNotation)是一种轻量级的数据交换语言,以文字为基础,且易于让人阅读。尽管JSON是在Javascript的一个子集,但JSON是独立于语言的文本格式,并且采用了类似于C语言家族的一些习惯。JSON用于描述数据结构,有以下形式存在。来自wikipedia:http://zh.wikipedia.org/wiki/JSON对象 (object):一个对象以“{”开始,并以“}”结束。一个对象包含一系列非排序的名称/值对,每个名称/值对之间使用“,”分区。名称/值对(collection):名称和值之间使用“:”隔开,一般的形式是{name:valu 阅读全文
bulletproof ajax: Data Formats
2012-08-29 15:46 by youxin, 299 阅读, 0 推荐, 收藏,
摘要:Ajax is language agnostic, at least on the server. It doesn’t matter what server-side language you use for your business logic. However, when you are requesting data from the server,the data that’s sent from the server must be formatted in a waythat the browser can understand. Your server-side progr 阅读全文
bulletproof ajax: XMLHttpRequest
2012-08-29 01:29 by youxin, 362 阅读, 0 推荐, 收藏,
摘要:ajax作者发表的论文:http://www.adaptivepath.com/ideas/ajax-new-approach-web-applicationsThe Ajax ToolkitThe XMLHttpRequest object is the engine that drives Ajax, but it doesn’texist in a vacuum. As Jesse James Garrett said in his original essay, “Ajax isn’t a technology. It’s really several technologies, ea 阅读全文
javascript 与 ajax
2012-08-28 19:33 by youxin, 291 阅读, 0 推荐, 收藏,
摘要:AJAX = Asynchronous JavaScript and XML.AJAX is not a new programming language, but a new way to use existing standards.AJAX is the art of exchanging data with a server, and updating parts of a web page - without reloading the whole page.http://www.w3schools.com/ajax/ajax_intro.aspAjax involves the u 阅读全文
javascript Dom 编程艺术:ANIMATED SLIDESHOW
2012-08-28 16:41 by youxin, 505 阅读, 0 推荐, 收藏,
摘要:Animation is the perfect example of this kind of change. In a nutshell, animation involveschanging an element’s position over time.IncrementsMoving an... 阅读全文
Javascript DOM 编程艺术:Css-dom
2012-08-28 16:22 by youxin, 300 阅读, 0 推荐, 收藏,
摘要:Three sheets to the WebContent on the Web can be wrapped up in three successive layers that are readable byweb browsers:StructurePresentationBehaviorThe style propertyEvery element in a document is an object. Every one of these objects has a whole collectionof properties. Some properties contain inf 阅读全文
javascript里的document.all用法
2012-08-28 13:20 by youxin, 376 阅读, 0 推荐, 收藏,
摘要:all 方法最初是由 IE 浏览器拥有的,并不属于 W3C 规范范畴,他返回调用 all 方法的 HTML 标记自身内的所有子孙元素的 HTML 标记集合 。all 方法的详细说明请参见 MSDN:http://msdn.microsoft.com/en-us/library/ms537434(VS.85).aspx。通常情况下使用 document.all 方法获得文档元素内所有 HTML 标记的集合,他最先使用在 IE 浏览器中。现在其他浏览器已经支持 document.all 这个方法了,但在支持细节上有差异。在 IE 中 document.all 的布尔值是 true ,其他浏览器都是 阅读全文
浙公网安备 33010602011771号