zoukankan      html  css  js  c++  java
  • head runt = "server"

    <p>今天再看js代码时突然发现这样一段代码</p>

    <head runt = "server">
    <script type="text/javascript" language="javascript或vb或cs等等">// <![CDATA[
    function showmenu(bol)
    {
    if(bol)
    {
    documents.getElementByID("Label1")
    }
    }
    // ]]></script>
    <p>

     于是查了下 runt = "server"的用法: 给head标签加上服务器标记 之后就能在后台获取title了。 就可以后台赋值了。 this.title="xxxxx"; 一般asp.net页面中不加此方法 head之间的代码会凌乱,不规整。如果是html页面没有必要加。</p>

  • 相关阅读:
    SCUT
    SCUT
    SCUT
    ???
    Codeforces
    SCUT
    SCUT
    SCUT
    SCUT
    2019牛客暑期多校训练营(第八场)
  • 原文地址:https://www.cnblogs.com/wangrongjie/p/2704475.html
Copyright © 2011-2022 走看看