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


please explain me why simple script not work in chrome browser on ios 7. works in safari, android devices, desktop browser not in ios chrome...

browser says nothing... not error, no 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> 

try wrap 11 in quotes:

alert("11"); 

Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -