随笔分类 -  JavaScript

摘要:http://gskinner.com/RegExr/ 阅读全文
posted @ 2010-07-06 16:54 豪情 阅读(323) 评论(0) 推荐(0) 编辑
摘要:豪情 糖果的时间: 运行代码 阅读全文
posted @ 2010-07-06 15:57 豪情 阅读(266) 评论(0) 推荐(0) 编辑
摘要:http://www.china-pub.com/196857JavaScript的应用在广度和深度上日益扩大和加深,前端开发亟待掌握的JavaScript技能也越来越具有挑战性。这个新版本几乎全部更新、重写了上一版的内容,融入了作者近几年来奋战在前端开发一线的宝贵经验,是学习和提高JavaScript技能的必读经典。本书不仅全面深入地讲述了JavaScript的基本概念,阐释了它特有的面向对象和... 阅读全文
posted @ 2010-06-25 09:25 豪情 阅读(283) 评论(0) 推荐(0) 编辑
摘要:主要知识点有: 数组的两种新建方式, Math.random函数的运用 innerHTML与 += 运算符的运用<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="h... 阅读全文
posted @ 2010-06-11 10:31 豪情 阅读(320) 评论(0) 推荐(0) 编辑
摘要:This is a div 运行代码 阅读全文
posted @ 2010-06-07 13:17 豪情 阅读(443) 评论(0) 推荐(0) 编辑
摘要:整理下面试题1.Math对象的常用方法list[代码]2.写一个js的自定义类,类的继承是怎么实现的,写一个json类3.写一段程序把字符串反转4.用json类的形式叙述一个对象5.写一个xml的遍历方式children nextElementSibing prevousElementSibling lastXXX firstXXX6.javascript的常用对象列出来7.dom对象的常用方法8... 阅读全文
posted @ 2010-06-01 16:49 豪情 阅读(670) 评论(0) 推荐(0) 编辑
摘要:http://webfx.eae.net 阅读全文
posted @ 2010-05-26 12:15 豪情 阅读(527) 评论(0) 推荐(0) 编辑
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--function$get(id){returndocument.getElementById(id);}functionaddLoadEvent(func){varoldonload=window.o... 阅读全文
posted @ 2010-05-25 09:12 豪情 阅读(477) 评论(0) 推荐(0) 编辑
摘要:http://www.molook.com/cui/example/web/index.html http://demo.dwzjs.com/#_blank 阅读全文
posted @ 2010-05-21 10:11 豪情 阅读(477) 评论(0) 推荐(0) 编辑
摘要:[代码]来自于:http://www.gzdfbz.com/Content/201003/25/880.html 阅读全文
posted @ 2010-05-19 18:07 豪情 阅读(332) 评论(0) 推荐(1) 编辑
摘要:<form action=""><input type="text" name="textRange" size="50" value="这是豪情的blog,这里是技术的海洋,是人生的第一起跑线~!" /><br /><textarea name="yourForm" rows=3 cols=40 wrap=virtual>豪情提示:这里是测试文本,... 阅读全文
posted @ 2010-05-17 13:07 豪情 阅读(281) 评论(0) 推荐(0) 编辑
摘要:相等:只判断值,全等:值,类型都要相同 运行代码 阅读全文
posted @ 2010-05-10 13:59 豪情 阅读(270) 评论(0) 推荐(0) 编辑
摘要:豪情-js事件测试 clear 运行代码 阅读全文
posted @ 2010-05-08 12:27 豪情 阅读(389) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta h... 阅读全文
posted @ 2010-05-08 11:10 豪情 阅读(1088) 评论(0) 推荐(0) 编辑
摘要:<html> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <head> <script language="javascript"> var ie = navigator.appName == "Microsoft Internet Explorer" ? tr... 阅读全文
posted @ 2010-05-08 08:57 豪情 阅读(411) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-05-07 13:51 豪情 阅读(7) 评论(0) 推荐(0) 编辑
摘要:来自于:http://hi.baidu.com/lepharye/blog/item/53e622cfad5bd731f9dc61e0.html样式表有三种方式 内嵌样式(inline Style) :是写在Tag里面的,内嵌样式只对所有的Tag有效。 内部样式(internal Style Sheet):是写在HTML的<head></head>里面的,内部样式只对所在的... 阅读全文
posted @ 2010-05-07 13:16 豪情 阅读(312) 评论(0) 推荐(0) 编辑
摘要:来自于:http://bbs.blueidea.com/thread-2983198-1-1.html[代码][代码]这里非0数值的布尔值的确都是true,也就是说所有的问题都集中在2==true中的==运算符上。基本可以确定,==一定不是把数字转换为布尔值再进行比较。[代码] 阅读全文
posted @ 2010-05-07 11:22 豪情 阅读(373) 评论(0) 推荐(0) 编辑
摘要:来自于:http://www.planabc.net/2009/12/26/array_uniq/代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--TUI.unique=function(array){varret=[],record={},it,t... 阅读全文
posted @ 2010-05-06 20:29 豪情 阅读(369) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-05-06 14:32 豪情 阅读(6) 评论(0) 推荐(0) 编辑