简体   繁体   中英

why jscript does not work in Chrome browser on iOS 7?

Please explain me why my simple script does not work in Chrome browser on iOS 7. It works in safari, android devices, desktop browser BUT not in ios chrome...

Browser says nothing... not an error, no the message.

Why?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> 
  <head> 
    <script src="js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
      alert("11");
    </script>
  </head>
  <body>
  </body>
</html>

尝试用引号将11换行:

alert("11");

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM