Dear The Expert,

How to set value to TextBox?
I am trying to do the following but no luck

document.getElementByName('TextBox1')[0].value = "Hello";
document.getElementByName('TextBox2')[0].value = "World";