There may be situations where you need to wrap DIV or SPAN containers around to a form widget to access it from your CSS stylesheets.
在许多情况下,需要用 DIV 或 SPAN 容器包围一个表单组件,以便从 CSS 样式表访问它。
My plan is to load the entire CDA and transform it, then allow interactive access through the DOM so that I have a div element called div-cache, which I have hidden at the bottom of the viewer.
我的计划是加载并转换整个 CDA,然后允许通过 DOM 进行交互式访问,这样我就能拥有一个名为 div-cache 的 div 元素,我将该元素隐藏在 CDA Viewer 底部。
The XForms model is part of the page's DOM, so you just use the document.getElementById() method, just like you would do to access an HTML div or an HTML input field.
XForms 模型是页面 DOM 的一部分,因此您只需使用 document.getElementById() 方法,正如您访问 HTML div 或 HTML 输入字段那样。
应用推荐