This may seem silly, but nowadays, you can expect JS to raise an event if the contents of the array have changed .
Several questions were asked about receiving notifications when a variable changes (specify the recipient or installer). And there seems to be a way to do this (at least for most browsers, including IE6 +)
My problem is that I am trying to get a notification if an element in an array changes:
var ar = ["one", "two", "three"];
ar = ["one", "three", "five"];
ar[1] = "two";
Obviously, I try not to force the encoder to use Java old school functions .getVale()and .setValue()to access / modify data.