Parse Error jq 1.5x on Iphone Safari
i am developing a mobile version of our website.
when i use
- <script src="mobile/jquery-1.5.1.min.js"></script>
i'll get a parse error on line 1 in safari on iphone. when i use the uncompressed version i get a parse error in line 2192
strange is, when i use the hosted version
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
the page works perfect. with jquery-1.4.4 it is no problem. but with both 1.5 versions (1.5 and 1.5.1) i get the parse error on my iphone.
i have downloaded the jquery.js different times via wget. from jquery.com and even the version from google. but in all cases i get a parse error when i try to include a local version of jquery 1.5.x.
what can i do?
markus