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文檔中。