Caption change event - doesnt trigger when changed by javascript
Hi, I'm using the following code to capture a change of orientation:
function doOnOrientationChange()
{
switch(window.orientation)
{
case -90:
case 90:
Tiggzi("orientation").text("landscape");
break;
default:
Tiggzi("orientation").text("portrait");
break;
}
}
the "orientation" variable is a caption object on the screen, and I can see this change accordingly when the orientation changes.
However, I have added a "value change" event (a simple alert) to the caption object but this doesn't trigger.
Am I missing something?