Javascript and more than one instances
Hi, i made a maxforlive devices which uses two javascripts. the problem is, that if i use more than one instance of this device, the devices share the same script and makes it impossible to have different settings.
Does anyone how to remedy this except for working without javascript?
thanks a lot!
You can control if the data is per-instance or shared... Global variables declared with js keyword "var" are independendly created for each instance of the js.