Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
07-17-2012, 01:22 PM #1
- Join Date
- Jul 2012
- Thanked 0 Times in 0 Posts
I declare a global variable in open code in a <head> section and call a function also defined in the <head> section which sets the values. I then use the values in a <script> section in the <body> section. When access the html from Chrome on my mac it works as expected. When I access from my iPad the globals are undefined.
It turns out that an exception was being thrown in the function so the global variables were not being set.
Last edited by Kenneth Heeres; 07-17-2012 at 09:48 PM.