在线手册

  • prop img hspace

    ... ="compman" src="compman.gif" alt="Computerman"> <p>Some text. Some text. Some text. Some text.</p> <input type="button" onclick="setSpace()" value="Set hspace and vspace"> </body> </html> 尝试一下 » Image 对象 ...

  • prop img src

    ... > </head> <body> <img id="myImage" src="compman.gif" width="107" height="98"> <br><br> <input type="button" onclick="changeSrc()" value="Change image"> </body> </html> 尝试一下 » Image 对象 ...

  • prop img vspace

    ... ="compman" src="compman.gif" alt="Computerman"> <p>Some text. Some text. Some text. Some text.</p> <input type="button" onclick="setSpace()" value="Set hspace and vspace"> </body> </html> 尝试一下 » Image 对象 ...

  • prop img width

    ... head> <body> <img id="compman" src="compman.gif" width="107" height="98"> <br><br> <input type="button" onclick="changeSize()" value="Change size of image"> </body> </html> 尝试一下 » Image 对象 ...

  • prop option disabled

    ... >document.getElementById("mydrop").options[1].disabled=true;</script> 输出结果: Cat Dog Horse 尝试一下 » 定义和用法 disabled 属性可设置或返回是否默认地禁用某个 <option> 元素。 被禁用的 input 元素既不可用,也不可点击。可以设置 disabled 属性,直到满足某些其他的条件为止(比如选择了一个复选框等等)。 语法 设置 disabled 属性: ...

  • prop password defaultvalue

    ... ("pwd").defaultValue; alert(x); } </script> </head> <body> <form> Password: <input type="password" id="pwd" value="thgrt456"> </form> <button type="button" onclick="displayResult()">Display default ...

  • prop password form

    ... ").form.id; alert(x); } </script> </head> <body> <form id="form1"> Password: <input type="password" id="pwd"> </form> <button type="button" onclick="displayResult()">Display id of container form< ...

  • prop password maxlength

    ... ("pwd").maxLength; alert(x); } </script> </head> <body> <form> Password: <input type="password" id="pwd" maxlength="8"> </form> <button type="button" onclick="displayResult()">Display max number of ...

  • prop password name

    ... getElementById("pwd").name; alert(x); } </script> </head> <body> <form> Password: <input type="password" id="pwd" name="password"> </form> <button type="button" onclick="displayResult()">Display name ...

  • prop password readonly

    ... document.getElementById("pwd").readOnly=true; } </script> </head> <body> <form> Password: <input type="password" id="pwd"> </form> <button type="button" onclick="setResult()">Set read-only</button ...

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

    Brad

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

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

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

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

  • 更多...