Mikeok


Hi

I was having a trouble with v5.0 firing a map. The map would not load and the browser would reload the page over and over. The stop button had to be pressed to get control. My investigations led me to a bad global variable conflict. When setting var @location = new Array; in my javascript, it caused the problem. Renaming the array solves the problem. Mike




Re: @location variable problem - Page keeps reloading

Derrick


location in javascript is the current page's url or web address. It can also be used to change the current page.

This is not a VE problem. Do a quick search on javascript location to see how you can use that variable. If you need a local variable call location, make sure you declare the variable before using it. javascript is very relax, and it's easy to forget to declare variables.