M
Mel
Is it possible to add an OnChange call AFTER the form is created ?
i tried something like:
document.getElementById('V122').onChange=callback();
my callback is:
function callback() {
var ele = document.getElementById('V122');
var ind = ele.selectedIndex;
alert (ind);
}
HERE is what happens. when my page gets loaded i get an alert(0) which
is correct. but after that nothing happens when my selection changes.
Please help
i tried something like:
document.getElementById('V122').onChange=callback();
my callback is:
function callback() {
var ele = document.getElementById('V122');
var ind = ele.selectedIndex;
alert (ind);
}
HERE is what happens. when my page gets loaded i get an alert(0) which
is correct. but after that nothing happens when my selection changes.
Please help