网站首页  汉语字词  英语词汇  考试资料  写作素材  旧版资料

请输入您要查询的考试资料:

 

标题 javascript技巧3
内容
    网页传递参数
    location.search();
    可编辑
    obj.contenteditable=true
    执行菜单命令
    obj.execCommand
    双字节字符
    /[^\x00-\xff]/
    汉字
    /[\u4e00-\u9fa5]/
    让英文字符串超出表格宽度自动换行
    word-wrap: break-word; word-break: break-all;
    透明背景
    <IFRAME src="1.htm" width=300 height=180 allowtransparency></iframe>
    获得style内容
    obj.style.cssText
    HTML标签
    document.documentElement.innerHTML
    第一个style标签
    document.styleSheets[0]
    style标签里的第一个样式
    document.styleSheets[0].rules[0]
    防止点击空链接时,页面往往重置到页首端。
    <a href="javascript:function()">word</a>
    上一网页源
    asp:
    request.servervariables("HTTP_REFERER")
    javascript:
    document.referrer
    释放内存
    CollectGarbage();
    禁止右键
    document.oncontextmenu = function() { return false;}
    禁止保存
    <noscript><iframe src="*.htm"></iframe></noscript>
随便看

 

在线学习网考试资料包含高考、自考、专升本考试、人事考试、公务员考试、大学生村官考试、特岗教师招聘考试、事业单位招聘考试、企业人才招聘、银行招聘、教师招聘、农村信用社招聘、各类资格证书考试等各类考试资料。

 

Copyright © 2002-2024 cuapp.net All Rights Reserved
更新时间:2025/5/18 22:42:41