JavaScript在IE中不能显示?
用的是一个zDialog.js的插件但在火狐里却可以正常显示
main.jsp代码:
程序代码:
</style> <script language="javascript" src="./jQuery/jquery.js"></script> <script type="text/javascript" src="./javascript/zDrag.js"></script> <script type="text/javascript" src="./javascript/zDialog.js"></script> <script language="javascript"> $(function(){ $("li").find("ul").prev().click( function(){ $(this).next().toggle(); } ); $("li:has(ul)").find("ul").hide(); }); function applicationForm(){ Dialog.open({URL:"./javascript/applicationform.html"}); } </script>IE显示效果,和火狐显示效果及目录结构
http://hi.baidu.com/%C2%E4%C8%D5%D7%B7%D6%F0/album/%CE%CA%CC%E2