:: Forum >>
Find input by name.
I have a form with multible inputs, where i have the names of inputs, i have tried document.getElementById("field1").setControlText(text), but the element don't know the setControlText, i have tested that the found element is the correct one by document.getElementById("field1").visibility='hidden', and the AW.input dissaperes from screen.
Is there a way i can do above when i only have the name.
Flaffer
Tuesday, July 3, 2007
There is an internal function AW.object() which returns reference to the AW object by its id.
var obj = AW.object(id);
Alex (ActiveWidgets)
Tuesday, July 3, 2007
Thanks it worked.
Flaffer
Tuesday, July 3, 2007
This topic is archived.
Back to support forum
Forum search