アプリケーションの外部にある .htm ファイルを表示する必要があります。
これがデザインとコードです。
<a href="javascript:;" onclick="showhtm()">
<div id="htmldiv">
</div>
<script type="text/javascript">
function showhtm() {
var sPath = window.location.pathname;
var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
var shtm = sPage.substring(0, sPage.lastIndexOf('.'));
$("#htmldiv").load("http://10.196.128.98/htms/app/files/html/" + shtm + ".htm");
}
</script>
これは IE では機能しますが、Firefox では機能しません。
代わりに iframe を使用する必要があります。