二级联动菜单(javascript)
摘要: <scriptlanguage="JavaScript"><!--varg_selProvince;varg_selCity;varProvinces=newArray(newArray("110000","北京市"),newArray("120000","天津市"),newArray("130000","河北省"),newArray("140000","山西省"),newArr...
阅读全文
posted @
2006-07-29 09:22 XiaoLin's Blog 阅读(1864) |
评论 (0) 编辑
Simple Calendar
摘要: function calendar(date) { // If no parameter is passed use the current date. if(date == null) date = new Date(); day = date.getDate(); month = date.getMonth(); year = date.getFullYear(); months = new ...
阅读全文
posted @
2006-07-13 16:22 XiaoLin's Blog 阅读(295) |
评论 (0) 编辑
document.execCommand()的作用
摘要: <input type=button value=剪切 onclick=document.execCommand('Cut')><input type=button value=拷贝 onclick=document.execCommand('Copy')><input type=button value=粘贴 onclick=document.execCommand...
阅读全文
posted @
2006-07-10 16:55 XiaoLin's Blog 阅读(7495) |
评论 (3) 编辑
HTML中meta作用
摘要: meta是用来在HTML文档中模拟HTTP协议的响应头报文。meta标签用于网页的<head>与</head>中,meta标签的用处很多。meta的属性有两种:name和http-equiv。name属性主要用于描述网页,对应于content(网页内容),以便于搜索引擎机器人查找、分类(目前几乎所有的搜索引擎都使用网上机器人自动查找meta值来给网页分类)。这其中最重要的是...
阅读全文
posted @
2006-07-08 17:38 XiaoLin's Blog 阅读(904) |
评论 (0) 编辑
asp.net WebForm页面间传值方法
摘要: ASP.NET WEB FORMS 给开发者提供了极好的事件驱动开发模式。然而这种简单的应用程序开发模式却给我们带来了一些小问题,举个例子,在传统的ASP应用程序中,你能够通过POST方法很容易的把一个值或多个值从一个页面传送到另一个页面(request()/request.form()/request.querystring()),用同样的方法在ASP.NET中实现有点麻烦。在这里,通过其他方式...
阅读全文
posted @
2006-07-05 16:09 XiaoLin's Blog 阅读(438) |
评论 (0) 编辑
getElementById()与getElementsByName()区别
摘要: HTML元素的Name属性在页面中可以起那么一点ID的作用,因为在DHTML对象树中,我们可以使用document.getElementsByName来获取一个包含页面中所有指定Name元素的对象数组。 要是页面中有n(n>1)个HTML元素的ID都相同了怎么办?在DHTML对象中怎么引用他们呢?如果我们使用ASPX页面,这样的情况是不容易发生的,因为aspnet进程在处理aspx页面时根本...
阅读全文
posted @
2006-07-01 16:57 XiaoLin's Blog 阅读(22274) |
评论 (1) 编辑