UniHtmlFrame.HTML内容示例
<form enctype="multipart/form-data" id="formId0" method="post" action="" target="_self"> txt1: <input type="text" name="txt1" id="txt1id" size="30"><br> File01:<br> <input type="file" name="file01" id="file01id" size="40"><br> <input type="submit" value="Send"> </form>
unihtmlframe有一个html属性,可显示html文档,但又有一些限制:
一、对外部文件,如javascript、css文档,不能使用<script src=url> </script>来调入,必须在uniservermodel的customfiles属性中指定;
二、在html文档中不能使用html、head、title、body等标签,或者说使用也不会产生作用。
三、javascript、css内容可以嵌入html文档中。