• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






jenesor's home

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3

2010年3月14日

javascript之类的定义及构造函数
摘要: <html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>无标题页</title> <script type="text/jscript"> function dog(x,y,z) { this.name1=x; this.height=y; this... 阅读全文
posted @ 2010-03-14 20:03 jenesor 阅读(165) 评论(0) 推荐(0)
 
javascript之嵌套函数
摘要: 在javascript中允许使用嵌套函数:<head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>嵌套函数</title><script type="text/javascript"> function fun1(){ funct... 阅读全文
posted @ 2010-03-14 19:38 jenesor 阅读(408) 评论(0) 推荐(0)
 
alert() confirm() prompt()
摘要: 1,alert(Text)起提示警告作用,Text为提示的内容  <body onload="alert('页面载入中!');">2,confirm(Text)起判断的作用,text为提示判断的内容.返回一个判断的bool值。  function Sure() { if(confirm("Are you sure!")==true) { document.getElementById(... 阅读全文
posted @ 2010-03-14 19:32 jenesor 阅读(231) 评论(0) 推荐(0)
 
上一页 1 2 3