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

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -