[HTML5] Element id binding
html5 ID Element Binding
2023-09-14 09:00:48 时间
When you give an element an id attr, it will automaticlly create a object with the same name of id:
<form id="theform" action="/" method="post"> <label for="message">Message:</label><br /> <textarea name="message">!</textarea><br /> <input type="submit" /> </form> <script> theform.submit(); </script>
相关文章
- 基于HTML5的拓扑图编辑器(2)
- html5手机页面的那些meta
- 基于 HTML5 的 WebGL 技术构建 3D 场景(一)
- HTML5应用程序缓存实现离线Web网页或应用
- HTML5 LocalStorage 本地存储(转)
- LocalResizeIMG前端HTML5本地压缩图片上传,兼容移动设备IOS,android
- html5定位并在百度地图上显示
- HTML5图片预览
- 【HTML5 提高】Canvas 1
- HTML5应用 + Cordova = 平台相关的混合应用
- atitit.html5动画特效----打水漂 ducks_and_drakes
- 如何上传HTML5应用到SAP云平台的Cloud Foundry环境下
- SVG与HTML5的canvas各有什么优点,哪个更有前途?
- HTML5 学习总结(二)——HTML5新增属性与表单元素