The below code works fine and sets the corresponding bean property (name attribute) in the form bean(
struts).
How to achieve the same for createTextNode.
How to set the name property for createTextNode. The commented part doesn't work.
I have a corresponding property in form bean object(Struts). How to set it using Javascript.