随笔分类 -  JavaScript

摘要:①if文if(){}else if(){}else if 中间有空格② 阅读全文
posted @ 2015-02-12 09:55 塔斯曼 阅读(108) 评论(0) 推荐(0)
摘要:JavaScript is one of the 3 languages all web developers must learn: 1. HTML to define the content of web pages 2. CSS to specify the layout of web pag... 阅读全文
posted @ 2015-01-21 13:52 塔斯曼 阅读(110) 评论(0) 推荐(0)
摘要:http://www.atmarkit.co.jp/ait/articles/1403/19/news034_2.htmlhttp://webdesignerwork.jp/web/responsivewebdesign/サルでもわかるbootstrap入門http://getbootstrap.c... 阅读全文
posted @ 2015-01-07 16:50 塔斯曼 阅读(160) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-09-18 17:41 塔斯曼 阅读(103) 评论(0) 推荐(0)
摘要:Example:InnerHTML We are sorry,but this application needs JavaScript to be enabled to work.Please contact us if you cannot enable scripting and... 阅读全文
posted @ 2014-09-18 17:32 塔斯曼 阅读(156) 评论(0) 推荐(0)
摘要:Example:Replacing noscript We are sorry,but this application needs JavaScript to be enabled to work.Please contact us if you cannot enable scri... 阅读全文
posted @ 2014-09-18 17:12 塔斯曼 阅读(175) 评论(0) 推荐(0)
摘要:Example:Submit buttons to links Name: Email: submitToLinks.js fun... 阅读全文
posted @ 2014-09-18 16:35 塔斯曼 阅读(282) 评论(0) 推荐(0)
摘要:老的方式: DOM新方法: 阅读全文
posted @ 2014-09-18 11:09 塔斯曼 阅读(130) 评论(0) 推荐(0)
摘要:Date Example02 Events search Date in the format DD/MM/YYYY: (example 25/01/1923) checkdate.js: ... 阅读全文
posted @ 2014-09-17 17:43 塔斯曼 阅读(121) 评论(0) 推荐(0)
摘要:一,通过子节点查询父节点: 二, function GetTwoEnd() { var myLinkItem=document.getElementById('linkedItem'); var first=firstSibling(myLinkItem.parentNode); var last=lastSibling(myLinkI... 阅读全文
posted @ 2014-09-17 16:06 塔斯曼 阅读(138) 评论(0) 推荐(0)
摘要:DOM Example Heading Paragraph Subheading List 1 List 2 Linked List Item List 4 Paragraph Paragraph ... 阅读全文
posted @ 2014-09-17 10:33 塔斯曼 阅读(157) 评论(0) 推荐(0)
摘要:Date example Events search Date in the format DD/MM/YYYY: (example 23/01/1933) 阅读全文
posted @ 2014-09-16 17:35 塔斯曼 阅读(358) 评论(0) 推荐(0)
摘要:一,使用document.write() 二,使用window方法,prompt(),alert()和confirm() Search example Search the site: 阅读全文
posted @ 2014-09-16 17:15 塔斯曼 阅读(431) 评论(0) 推荐(0)
摘要:一: 二:ctrl+shift+I 阅读全文
posted @ 2014-09-16 10:29 塔斯曼 阅读(287) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-09-12 14:21 塔斯曼 阅读(136) 评论(0) 推荐(0)