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

mysql - java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0) -

c - ALSA programming: how to stop immediately -