![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript学习
iteye_20656
这个作者很懒,什么都没留下…
展开
-
Prototype1.6
prototype1.6创建类的形式var Animal = Class.create({ initialize: function(name, sound) { //相当如java里的构造函数 this.name = name; this.sound = sound; }, speak: function() { //成员方法 alert(th...2008-05-20 16:38:28 · 65 阅读 · 0 评论 -
js验证文本框只能输入数字
function check_num_dot(){ if (window.event.keyCode > 57 || window.event.keyCode < 46) { window.event.returnValue = false; } else { if(window.event.keyC...原创 2008-07-23 15:16:06 · 123 阅读 · 0 评论 -
DOM对table进行操作
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><TITLE> 动态表单操作 </TITLE><script> function add(){ var tbody = document.getElem2008-08-12 11:52:44 · 101 阅读 · 0 评论 -
遍历js对象的属性和值
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><TITLE>js Test </TITLE><META NAME="Generator" CONTENT="EditPlus">2008-08-12 16:20:23 · 120 阅读 · 0 评论 -
js下拉列表框操作总结
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>JavaScript强化训练--下拉列表的操作01</title><script language="JavaScript" type="2008-08-14 10:40:22 · 275 阅读 · 0 评论