reference AW.UI.Input by ID?
I am testing an AW.UI.Input. I tried to reference it by ID:
var tbx=new AW.UI.Input;
tbxSltShipId.setId("tbx");
......
document.forms[0].elements["tbx"].innerText = "This";
document.getElementById("tbx").innerText = "This";
document.forms[0].elements["tbx"].blur();
document.getElementById("tbx").blur();
All of the above last 4 lines caused error. How can I set id and use it in javascript?
Thanks,
var tbx=new AW.UI.Input;
tbxSltShipId.setId("tbx");
......
document.forms[0].elements["tbx"].innerText = "This";
document.getElementById("tbx").innerText = "This";
document.forms[0].elements["tbx"].blur();
document.getElementById("tbx").blur();
All of the above last 4 lines caused error. How can I set id and use it in javascript?
Thanks,
mrhsh
June 17,