Hi, I am very new to Javascript but need a small help. I want to have something like document.formname.tboxname.value ->Here I want to have the tboxname as a variable. How to do that?
give your element a unique id such as id="myTextBox" then you can access either the name value of an input text ( if it has a name ) by document.getElementById("myTextBox").name or access the id by document.getElementById("myTextBox").id