2014-09-23 48 views
0
<html> 
<head> 
**<script** 
<script language="jscript"> 
<!-- 
    function OnLoad() 
    { 

     try 
     { 
      Some code here 
     } 
     catch (e) 
     { 
      Some code here 
     } 
    } 

    function OnUnload() 
    { 
     try 
     { 
      Some code here 
     } 
     catch(e) 
     { 
      Some code here 
     } 
    } 
--> 
</script> 
</head> 
<body style="background: url(..\ABC.gif) #ffffff fixed no-repeat;" onload="OnLoad()" onunload="OnUnload()"> 
</body> 
</html> 

虽然没有必要,但我有两个脚本标记,第一个脚本标记没有正确关闭。有趣的是,我的应用程序没有提供任何与此相关的错误。但我面临一些jQuery的问题,如“XYZ”为空或不是对象。这些问题是由于这种错误语法而来的吗?会导致其他问题吗?任何建议将不胜感激。缺少关闭脚本标记'>'的Jquery问题

+0

它解析为