在线手册

  • prop style verticalalign

    ... gt; <tr> <td id="td1">Some example text</td> </tr> </table> <br> <input type="button" onclick="displayResult()" value="Align text"> </body> </html> 尝试一下 » Style 对象 ← HTML DOM Style top 属性 ...

  • prop style visibility

    ... lt;/script> </head> <body> <p id="p1">This is some text.</p> <input type="button" onclick="myFunction()" value="Hide paragraph"> </body> </html> 尝试一下 » Style 对象 ← HTML ...

  • prop style widows

    ... print { .widows { widows:2; } } </style> </head> <body> <div class="othercontent"> <input id="widows" value="2"> <button onclick="ChangeWidows();">Change widows</button> <p style="font-size ...

  • prop style width

    ... function displayResult() { document.getElementById("b1").style.width="300px"; } </script> </head> <body> <input type="button" id="b1" onclick="displayResult()" value="Change width"> </body> </html> 尝试一 ...

  • prop style zindex

    ... lt;h1>This is a Heading</h1> <img id="img1" src="bulbon.gif" width="100" height="180"> <input type="button" onclick="changeStackOrder()" value="Change stack order"> <p>Default z-index is 0. Z-index -1 has lower priority.< ...

  • prop submit disabled

    ← HTML DOM Submit form 属性 HTML DOM Submit 对象 → Submit disabled 属性 Submit 对象 实例 实例 1 禁用提交按钮: <script>document.getElementById("sbmt").disabled=true;</script> 输出结果: 尝试一下 » 定义和用法 disabled 属性可设置或返回是否禁用确认按钮。 被禁用的元素既不可用,也不可点击。可 ...

  • prop textarea cols

    ... to advanced XML, SQL, ASP, and PHP. </textarea> <br> <p>Set cols attribute value: <input type="text" id="myInput" value="60"> <button type="button" onclick="displayResult()">Change cols attribute</button>< ...

  • prop textarea disabled

    ... 用一个文本域: <script>document.getElementById("mytxt").disabled=true;</script> 输出结果: 342 Alvin Road Ducksburg 尝试一下 » 定义和用法 disabled 属性可设置或返回是否应禁用文本框。 被禁用的 input 元素既不可用,也不可点击。可以设置 disabled 属性,直到满足某些其他的条件为止(比如选择了一个复选框等等)。 语法 设置 disabled 属性: ...

  • prop win name

    ... ("<p>This window's name is: " + myWindow.name + "</p>"); }</script> </head> <body> <input type="button" value="Open 'myWindow'" onclick="openWin()"> </body> </html> 尝试一下 » Window 对象 ← Navigator ...

  • prop win opener

    ... .opener.document.write("<p>This is the source window!</p>"); } </script> </head> <body> <input type="button" value="Open 'myWindow'" onclick="openWin()"> </body> </html> 尝试一下 » Window 对象 ...

推广服务(新)
最新文章
  • Brad Frost:Techcrunch响应式设计之路

    Brad

  • 网页设计后PSD时代(Post-PSD Era)

    我们已经进入了网页设计的后PSD时代了吗? 在我的整个职业生涯,我常常看到非常有才华的设计师浪费了大量的时间来创造一个拥有网站全部细节的P...

  • 踏得网:云主机比较和选择

    本文简要介绍踏得网在主机选择上的考虑因素,不同类型的网站以及不同的发展阶段对于主机的要求是不一样的,这里仅供移动互联网创业者参考。 云主机运营模式 云主机有两种模式,一种是EC2,一种是GAE,前者是Amazon对IaaS(Infrastructure

  • 更多...